BBGMultiAccountManager
 All Classes Files Functions Variables Enumerator Properties Defines
Classes | Defines | Enumerations | Functions
GMultiAccountManager/GMultiAccountManager/GTMHTTPFetcher.h File Reference
#import <Foundation/Foundation.h>

Go to the source code of this file.

Classes

protocol  <GTMCookieStorageProtocol>
protocol  <GTMHTTPFetchHistoryProtocol>
protocol  <GTMHTTPFetcherServiceProtocol>
protocol  <GTMFetcherAuthorizationProtocol>
class  GTMHTTPFetcher

Defines

#define _EXTERN   extern
#define _INITIALIZE_AS(x)

Enumerations

enum  {
  kGTMHTTPFetcherErrorDownloadFailed = -1, kGTMHTTPFetcherErrorAuthenticationChallengeFailed = -2, kGTMHTTPFetcherErrorChunkUploadFailed = -3, kGTMHTTPFetcherErrorFileHandleException = -4,
  kGTMHTTPFetcherErrorBackgroundExpiration = -6, kGTMHTTPFetcherStatusNotModified = 304, kGTMHTTPFetcherStatusBadRequest = 400, kGTMHTTPFetcherStatusUnauthorized = 401,
  kGTMHTTPFetcherStatusForbidden = 403, kGTMHTTPFetcherStatusPreconditionFailed = 412
}
enum  { kGTMHTTPFetcherCookieStorageMethodStatic = 0, kGTMHTTPFetcherCookieStorageMethodFetchHistory = 1, kGTMHTTPFetcherCookieStorageMethodSystemDefault = 2, kGTMHTTPFetcherCookieStorageMethodNone = 3 }

Functions

_EXTERN NSString *const
kGTMHTTPFetcherStartedNotification 
_INITIALIZE_AS (@"kGTMHTTPFetcherStartedNotification")
_EXTERN NSString *const
kGTMHTTPFetcherStoppedNotification 
_INITIALIZE_AS (@"kGTMHTTPFetcherStoppedNotification")
_EXTERN NSString *const
kGTMHTTPFetcherRetryDelayStartedNotification 
_INITIALIZE_AS (@"kGTMHTTPFetcherRetryDelayStartedNotification")
_EXTERN NSString *const
kGTMHTTPFetcherRetryDelayStoppedNotification 
_INITIALIZE_AS (@"kGTMHTTPFetcherRetryDelayStoppedNotification")
_EXTERN NSString *const
kGTMHTTPFetcherErrorDomain 
_INITIALIZE_AS (@"com.google.GTMHTTPFetcher")
_EXTERN NSString *const
kGTMHTTPFetcherStatusDomain 
_INITIALIZE_AS (@"com.google.HTTPStatus")
_EXTERN NSString *const
kGTMHTTPFetcherErrorChallengeKey 
_INITIALIZE_AS (@"challenge")
_EXTERN NSString *const
kGTMHTTPFetcherStatusDataKey 
_INITIALIZE_AS (@"data")
void GTMAssertSelectorNilOrImplementedWithArgs (id obj, SEL sel,...)
NSString * GTMCleanedUserAgentString (NSString *str)
NSString * GTMSystemVersionString (void)
NSString * GTMApplicationIdentifier (NSBundle *bundle)

Define Documentation

#define _EXTERN   extern
#define _INITIALIZE_AS (   x)

Enumeration Type Documentation

anonymous enum
Enumerator:
kGTMHTTPFetcherErrorDownloadFailed 
kGTMHTTPFetcherErrorAuthenticationChallengeFailed 
kGTMHTTPFetcherErrorChunkUploadFailed 
kGTMHTTPFetcherErrorFileHandleException 
kGTMHTTPFetcherErrorBackgroundExpiration 
kGTMHTTPFetcherStatusNotModified 
kGTMHTTPFetcherStatusBadRequest 
kGTMHTTPFetcherStatusUnauthorized 
kGTMHTTPFetcherStatusForbidden 
kGTMHTTPFetcherStatusPreconditionFailed 
anonymous enum
Enumerator:
kGTMHTTPFetcherCookieStorageMethodStatic 
kGTMHTTPFetcherCookieStorageMethodFetchHistory 
kGTMHTTPFetcherCookieStorageMethodSystemDefault 
kGTMHTTPFetcherCookieStorageMethodNone 

Function Documentation

_EXTERN NSString* const kGTMHTTPFetcherStartedNotification _INITIALIZE_AS ( @"kGTMHTTPFetcherStartedNotification"  )
_EXTERN NSString* const kGTMHTTPFetcherStoppedNotification _INITIALIZE_AS ( @"kGTMHTTPFetcherStoppedNotification"  )
_EXTERN NSString* const kGTMHTTPFetcherRetryDelayStartedNotification _INITIALIZE_AS ( @"kGTMHTTPFetcherRetryDelayStartedNotification"  )
_EXTERN NSString* const kGTMHTTPFetcherRetryDelayStoppedNotification _INITIALIZE_AS ( @"kGTMHTTPFetcherRetryDelayStoppedNotification"  )
_EXTERN NSString* const kGTMHTTPFetcherErrorDomain _INITIALIZE_AS ( @"com.google.GTMHTTPFetcher"  )
_EXTERN NSString* const kGTMHTTPFetcherStatusDomain _INITIALIZE_AS ( @"com.google.HTTPStatus"  )
_EXTERN NSString* const kGTMHTTPFetcherErrorChallengeKey _INITIALIZE_AS ( @"challenge"  )
_EXTERN NSString* const kGTMHTTPFetcherStatusDataKey _INITIALIZE_AS ( @"data"  )
NSString* GTMApplicationIdentifier ( NSBundle *  bundle)
void GTMAssertSelectorNilOrImplementedWithArgs ( id  obj,
SEL  sel,
  ... 
)
NSString* GTMCleanedUserAgentString ( NSString *  str)
NSString* GTMSystemVersionString ( void  )