21 #import <ArcGIS/AGSObservableOperation.h> 22 #import <ArcGIS/AGSCancelable.h> 63 #pragma mark initializers 74 - (instancetype)initWithRemoteResource:(nullable
id<
AGSRemoteResource>)remoteResource
75 request:(NSURLRequest *)request NS_DESIGNATED_INITIALIZER;
82 - (instancetype)initWithURL:(NSURL *)url;
93 -(instancetype)initWithRemoteResource:(nullable
id<
AGSRemoteResource>)remoteResource
95 queryParameters:(nullable NSDictionary<NSString*,
id> *)queryParameters;
107 -(instancetype)initWithRemoteResource:(nullable
id<
AGSRemoteResource>)remoteResource
109 queryParameters:(nullable NSDictionary<NSString*,
id> *)queryParameters
112 #pragma mark properties 117 @property (nonatomic, strong, readonly) NSURL *
URL;
133 @property (nullable, nonatomic, strong, readonly) NSURLRequest *
request;
149 @property (nullable, nonatomic, weak, readonly) id<AGSRemoteResource> remoteResource;
159 @property (nullable, nonatomic, strong, readonly) NSURLResponse *
response;
170 @property (nullable, nonatomic, copy, readwrite) NSString *
sessionID;
204 @property (nonatomic, strong, readonly) NSProgress *
progress;
Definition: AGSRequestOperation.h:31
NSProgress * progress
Definition: AGSRequestOperation.h:204
Base class for operations. This adds the ability to register a listener to the AGSOperationBase. It also adds the concept of an error and a result.
Definition: AGSObservableOperation.h:26
void(^ progressHandler)(long long totalBytesDownloaded, long long totalBytesExpected)
AGSRequestHTTPMethod
Definition: AGSRequestOperation.h:30
long long totalBytesDownloaded
Definition: AGSRequestOperation.h:175
long long totalBytesExpected
Definition: AGSRequestOperation.h:180
NSDictionary< NSString *, id > * queryParameters
Definition: AGSRequestOperation.h:122
AGSCredential * credential
Definition: AGSRequestOperation.h:138
NSURL * URL
Definition: AGSElevationServiceInfo.h:67
id< AGSLoadable > loadDependency
Definition: AGSRequestOperation.h:154
A protocol adopted by classes that can load data asynchronously.
Definition: AGSLoadable.h:66
Base class for operations that perform http requests.
Definition: AGSRequestOperation.h:60
AGSRequestConfiguration * requestConfiguration
Definition: AGSRequestOperation.h:144
NSURLRequest * request
Definition: AGSRequestOperation.h:133
Networking related configuration of resources.
Definition: AGSRequestConfiguration.h:36
Definition: AGSRequestOperation.h:32
AGSRequestHTTPMethod method
Definition: AGSRequestOperation.h:128
Represents an credential to access a secured resource.
Definition: AGSCredential.h:46
NSString * sessionID
Definition: AGSRequestOperation.h:170
NSURLResponse * response
Definition: AGSRequestOperation.h:159
BOOL cancelSessionWhenOperationIsCanceled
Definition: AGSRequestOperation.h:196
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:34
NSURL * outputFileURL
Definition: AGSRequestOperation.h:165
Definition: AGSRequestOperation.h:33
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:32