AWSNetworkingRequest

Objective-C

@interface AWSNetworkingRequest : AWSNetworkingConfiguration

@property (nonatomic, strong) NSDictionary *parameters;
@property (nonatomic, strong) NSURL *uploadingFileURL;
@property (nonatomic, strong) NSURL *downloadingFileURL;
@property (nonatomic, assign) BOOL shouldWriteDirectly;

@property (nonatomic, copy) AWSNetworkingUploadProgressBlock uploadProgress;
@property (nonatomic, copy) AWSNetworkingDownloadProgressBlock downloadProgress;

@property (readonly, nonatomic, strong) NSURLSessionTask *task;
@property (readonly, nonatomic, assign, getter = isCancelled) BOOL cancelled;

- (void)assignProperties:(AWSNetworkingConfiguration *)configuration;
- (void)cancel;
- (void)pause;

@end

Swift

class AWSNetworkingRequest : AWSNetworkingConfiguration

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary *parameters

    Swift

    var parameters: [AnyHashable : Any]! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSURL *uploadingFileURL

    Swift

    var uploadingFileURL: URL! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) NSURL *downloadingFileURL

    Swift

    var downloadingFileURL: URL! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic) BOOL shouldWriteDirectly

    Swift

    var shouldWriteDirectly: Bool { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) AWSNetworkingUploadProgressBlock uploadProgress

    Swift

    var uploadProgress: AWSNetworkingUploadProgressBlock! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, copy) AWSNetworkingDownloadProgressBlock downloadProgress

    Swift

    var downloadProgress: AWSNetworkingDownloadProgressBlock! { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic, strong) NSURLSessionTask *task

    Swift

    var task: URLSessionTask! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic, getter = isCancelled) BOOL cancelled

    Swift

    var isCancelled: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    - (void)assignProperties:(AWSNetworkingConfiguration *)configuration;

    Swift

    func assignProperties(_ configuration: AWSNetworkingConfiguration!)
  • Undocumented

    Declaration

    Objective-C

    - (void)cancel;

    Swift

    func cancel()
  • Undocumented

    Declaration

    Objective-C

    - (void)pause;

    Swift

    func pause()