|
@@ -37,7 +37,7 @@
|
|
|
#import "AFNetworkReachabilityManager.h"
|
|
|
|
|
|
/**
|
|
|
- `AFHTTPRequestOperationManager` encapsulates the common patterns of communicating with an web application over HTTP, including request creation, response serialization, network reachability monitoring, and security, as well as both request operation and session task management.
|
|
|
+ `AFHTTPRequestOperationManager` encapsulates the common patterns of communicating with an web application over HTTP, including request creation, response serialization, network reachability monitoring, and security, as well as request operation management.
|
|
|
|
|
|
## Subclassing Notes
|
|
|
|
|
@@ -188,7 +188,7 @@
|
|
|
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|
|
@@ -203,7 +203,7 @@
|
|
|
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes a single arguments: the request operation.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes a single arguments: the request operation.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|
|
@@ -218,7 +218,7 @@
|
|
|
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|
|
@@ -234,7 +234,7 @@
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
@param block A block that takes a single argument and appends data to the HTTP body. The block argument is an object adopting the `AFMultipartFormData` protocol.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|
|
@@ -250,7 +250,7 @@
|
|
|
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|
|
@@ -265,7 +265,7 @@
|
|
|
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|
|
@@ -280,7 +280,7 @@
|
|
|
|
|
|
@param URLString The URL string used to create the request URL.
|
|
|
@param parameters The parameters to be encoded according to the client request serializer.
|
|
|
- @param success A block object to be executed when the task finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
+ @param success A block object to be executed when the request operation finishes successfully. This block has no return value and takes two arguments: the request operation, and the response object created by the client response serializer.
|
|
|
@param failure A block object to be executed when the request operation finishes unsuccessfully, or that finishes successfully, but encountered an error while parsing the response data. This block has no return value and takes a two arguments: the request operation and the error describing the network or parsing error that occurred.
|
|
|
|
|
|
@see -HTTPRequestOperationWithRequest:success:failure:
|