AWSNetworkingConfiguration
Objective-C
@interface AWSNetworkingConfiguration : NSObject <NSCopying>
@property (nonatomic, readonly) NSURL *URL;
@property (nonatomic, strong) NSURL *baseURL;
@property (nonatomic, strong) NSString *URLString;
@property (nonatomic, assign) AWSHTTPMethod HTTPMethod;
@property (nonatomic, strong) NSDictionary *headers;
@property (nonatomic, assign) BOOL allowsCellularAccess;
@property (nonatomic, strong) NSString *sharedContainerIdentifier;
@property (nonatomic, strong) id<AWSURLRequestSerializer> requestSerializer;
@property (nonatomic, strong) NSArray<id<AWSNetworkingRequestInterceptor>> *requestInterceptors;
@property (nonatomic, strong) id<AWSHTTPURLResponseSerializer> responseSerializer;
@property (nonatomic, strong) NSArray<id<AWSNetworkingHTTPResponseInterceptor>> *responseInterceptors;
@property (nonatomic, strong) id<AWSURLRequestRetryHandler> retryHandler;
/**
The maximum number of retries for failed requests. The value needs to be between 0 and 10 inclusive. If set to higher than 10, it becomes 10.
*/
@property (nonatomic, assign) uint32_t maxRetryCount;
/**
The timeout interval to use when waiting for additional data.
*/
@property (nonatomic, assign) NSTimeInterval timeoutIntervalForRequest;
/**
The maximum amount of time that a resource request should be allowed to take.
*/
@property (nonatomic, assign) NSTimeInterval timeoutIntervalForResource;
@end
Swift
class AWSNetworkingConfiguration : NSObject, NSCopying
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) NSURL *URL
Swift
var url: URL! { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSURL *baseURL
Swift
var baseURL: URL! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *URLString
Swift
var urlString: String! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) AWSHTTPMethod HTTPMethod
Swift
var httpMethod: AWSHTTPMethod { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary *headers
Swift
var headers: [AnyHashable : Any]! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL allowsCellularAccess
Swift
var allowsCellularAccess: Bool { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *sharedContainerIdentifier
Swift
var sharedContainerIdentifier: String! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id<AWSURLRequestSerializer> requestSerializer
Swift
var requestSerializer: AWSURLRequestSerializer! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSArray<id<AWSNetworkingRequestInterceptor>> *requestInterceptors
Swift
var requestInterceptors: [AWSNetworkingRequestInterceptorProtocol]! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id<AWSHTTPURLResponseSerializer> responseSerializer
Swift
var responseSerializer: AWSHTTPURLResponseSerializer! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSArray<id<AWSNetworkingHTTPResponseInterceptor>> *responseInterceptors
Swift
var responseInterceptors: [AWSNetworkingHTTPResponseInterceptor]! { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id<AWSURLRequestRetryHandler> retryHandler
Swift
var retryHandler: AWSURLRequestRetryHandler! { get set }
-
The maximum number of retries for failed requests. The value needs to be between 0 and 10 inclusive. If set to higher than 10, it becomes 10.
Declaration
Objective-C
@property (nonatomic) uint32_t maxRetryCount;
Swift
var maxRetryCount: UInt32 { get set }
-
The timeout interval to use when waiting for additional data.
Declaration
Objective-C
@property (nonatomic) NSTimeInterval timeoutIntervalForRequest;
Swift
var timeoutIntervalForRequest: TimeInterval { get set }
-
The maximum amount of time that a resource request should be allowed to take.
Declaration
Objective-C
@property (nonatomic) NSTimeInterval timeoutIntervalForResource;
Swift
var timeoutIntervalForResource: TimeInterval { get set }