Arguments for receiving an HTTP response. More...
Instance Methods | |
(NSMutableData *) | - binaryContent |
Gets the binary content read from the HTTP response. More... | |
(NSException *) | - exception |
Gets the exception generated while completing the request. More... | |
(FMLiveSwitchNameValueCollection *) | - headers |
Gets the headers read from the HTTP response. More... | |
(instancetype) | - initWithRequestArgs: |
Initializes a new instance of the FMLiveSwitchHttpResponseArgs class. More... | |
(FMLiveSwitchHttpRequestArgs *) | - requestArgs |
Gets the original FMLiveSwitchHttpRequestArgs. More... | |
(int) | - retries |
Gets the number of retries that were required. More... | |
(void) | - setBinaryContent: |
Sets the binary content read from the HTTP response. More... | |
(void) | - setException: |
Sets the exception generated while completing the request. More... | |
(void) | - setRequestArgs: |
Sets the original FMLiveSwitchHttpRequestArgs. More... | |
(void) | - setRetries: |
Sets the number of retries that were required. More... | |
(void) | - setStatusCode: |
Sets the status code read from the HTTP response. More... | |
(void) | - setTextContent: |
Sets the text content read from the HTTP response. More... | |
(int) | - statusCode |
Gets the status code read from the HTTP response. More... | |
(NSString *) | - textContent |
Gets the text content read from the HTTP response. More... | |
Class Methods | |
(FMLiveSwitchHttpResponseArgs *) | + httpResponseArgsWithRequestArgs: |
Initializes a new instance of the FMLiveSwitchHttpResponseArgs class. More... | |
Arguments for receiving an HTTP response.
- (NSMutableData*) binaryContent |
Gets the binary content read from the HTTP response.
- (NSException*) exception |
Gets the exception generated while completing the request.
- (FMLiveSwitchNameValueCollection*) headers |
Gets the headers read from the HTTP response.
+ (FMLiveSwitchHttpResponseArgs*) httpResponseArgsWithRequestArgs: | (FMLiveSwitchHttpRequestArgs *) | requestArgs |
Initializes a new instance of the FMLiveSwitchHttpResponseArgs class.
requestArgs | The request arguments. |
- (instancetype) initWithRequestArgs: | (FMLiveSwitchHttpRequestArgs *) | requestArgs |
Initializes a new instance of the FMLiveSwitchHttpResponseArgs class.
requestArgs | The request arguments. |
- (FMLiveSwitchHttpRequestArgs*) requestArgs |
Gets the original FMLiveSwitchHttpRequestArgs.
- (int) retries |
Gets the number of retries that were required.
- (void) setBinaryContent: | (NSMutableData *) | value |
Sets the binary content read from the HTTP response.
- (void) setException: | (NSException *) | value |
Sets the exception generated while completing the request.
- (void) setRequestArgs: | (FMLiveSwitchHttpRequestArgs *) | value |
Sets the original FMLiveSwitchHttpRequestArgs.
- (void) setRetries: | (int) | value |
Sets the number of retries that were required.
- (void) setStatusCode: | (int) | value |
Sets the status code read from the HTTP response.
- (void) setTextContent: | (NSString *) | value |
Sets the text content read from the HTTP response.
- (int) statusCode |
Gets the status code read from the HTTP response.
- (NSString*) textContent |
Gets the text content read from the HTTP response.