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 *URLSwift
var url: URL! { get } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSURL *baseURLSwift
var baseURL: URL! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *URLStringSwift
var urlString: String! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) AWSHTTPMethod HTTPMethodSwift
var httpMethod: AWSHTTPMethod { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSDictionary *headersSwift
var headers: [AnyHashable : Any]! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic) BOOL allowsCellularAccessSwift
var allowsCellularAccess: Bool { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSString *sharedContainerIdentifierSwift
var sharedContainerIdentifier: String! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id<AWSURLRequestSerializer> requestSerializerSwift
var requestSerializer: AWSURLRequestSerializer! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSArray<id<AWSNetworkingRequestInterceptor>> *requestInterceptorsSwift
var requestInterceptors: [AWSNetworkingRequestInterceptorProtocol]! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id<AWSHTTPURLResponseSerializer> responseSerializerSwift
var responseSerializer: AWSHTTPURLResponseSerializer! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) NSArray<id<AWSNetworkingHTTPResponseInterceptor>> *responseInterceptorsSwift
var responseInterceptors: [AWSNetworkingHTTPResponseInterceptor]! { get set } -
Undocumented
Declaration
Objective-C
@property (nonatomic, strong) id<AWSURLRequestRetryHandler> retryHandlerSwift
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 }
View on GitHub
Install in Dash
AWSNetworkingConfiguration Class Reference