27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObservableOperation.h>
29 #import <ArcGIS/AGSCancelable.h>
30 #import <ArcGIS/AGSLoadable.h>
31 #import <ArcGIS/AGSRemoteResource.h>
70 #pragma mark initializers
81 - (instancetype)initWithRemoteResource:(nullable
id<
AGSRemoteResource>)remoteResource
82 request:(NSURLRequest *)request NS_DESIGNATED_INITIALIZER;
89 - (instancetype)initWithURL:(NSURL *)url;
100 -(instancetype)initWithRemoteResource:(nullable
id<
AGSRemoteResource>)remoteResource
102 queryParameters:(nullable NSDictionary<NSString*,
id> *)queryParameters;
114 -(instancetype)initWithRemoteResource:(nullable
id<
AGSRemoteResource>)remoteResource
116 queryParameters:(nullable NSDictionary<NSString*,
id> *)queryParameters
119 #pragma mark properties
124 @property (nonatomic, strong, readonly) NSURL *
URL;
140 @property (nullable, nonatomic, strong, readonly) NSURLRequest *
request;
156 @property (nullable, nonatomic, weak, readonly) id<AGSRemoteResource>
remoteResource;
166 @property (nullable, nonatomic, strong, readonly) NSURLResponse *
response;
177 @property (nullable, nonatomic, copy, readwrite) NSString *
sessionID;
211 @property (nonatomic, strong, readonly) NSProgress *
progress;
NSURL * URL
Definition: AGSElevationServiceInfo.h:73
AGSRequestHTTPMethod
Definition: AGSRequestOperation.h:39
@ AGSRequestHTTPMethodPostJSON
Definition: AGSRequestOperation.h:42
@ AGSRequestHTTPMethodPostFormEncodeParameters
Definition: AGSRequestOperation.h:41
@ AGSRequestHTTPMethodGet
Definition: AGSRequestOperation.h:40
Represents an credential to access a secured resource.
Definition: AGSCredential.h:52
Base class for operations. This adds the ability to register a listener to the AGSOperationBase....
Definition: AGSObservableOperation.h:34
Networking related configuration of resources.
Definition: AGSRequestConfiguration.h:42
Base class for operations that perform http requests.
Definition: AGSRequestOperation.h:67
AGSRequestHTTPMethod method
Definition: AGSRequestOperation.h:135
NSURLResponse * response
Definition: AGSRequestOperation.h:166
long long totalBytesExpected
Definition: AGSRequestOperation.h:187
BOOL cancelSessionWhenOperationIsCanceled
Definition: AGSRequestOperation.h:203
id< AGSRemoteResource > remoteResource
Definition: AGSRequestOperation.h:156
NSURL * outputFileURL
Definition: AGSRequestOperation.h:172
void(^ progressHandler)(long long totalBytesDownloaded, long long totalBytesExpected)
AGSRequestConfiguration * requestConfiguration
Definition: AGSRequestOperation.h:151
id< AGSLoadable > loadDependency
Definition: AGSRequestOperation.h:161
long long totalBytesDownloaded
Definition: AGSRequestOperation.h:182
AGSCredential * credential
Definition: AGSRequestOperation.h:145
NSDictionary< NSString *, id > * queryParameters
Definition: AGSRequestOperation.h:129
NSString * sessionID
Definition: AGSRequestOperation.h:177
NSURLRequest * request
Definition: AGSRequestOperation.h:140
NSProgress * progress
Definition: AGSRequestOperation.h:211
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40