IOS Client SDK
<AKHTTPResponseDelegate> Protocol Reference

AKHttpResponseHandler provides a callback mechanism and API to handle the results of asynchronous HTTP requests made from AKHTTPAgent and its subclasses. More...

#import <AKHTTPResponseDelegate.h>

Inheritance diagram for <AKHTTPResponseDelegate>:
Inheritance graph

Instance Methods

(void) - handleFailure:
 Callback when a request has failed. More...
 
(void) - handleResponse:
 Callback when a request has succesfully returned to the client without error. More...
 

Detailed Description

AKHttpResponseHandler provides a callback mechanism and API to handle the results of asynchronous HTTP requests made from AKHTTPAgent and its subclasses.

See Also
AKHTTPAgent
Version
1.0

Method Documentation

- (void) handleFailure: (NSError *)  error

Callback when a request has failed.

Parameters
errora NSError object containg error information pertaining to the unsuccessful request.
Version
1.0
- (void) handleResponse: (AKHTTPResponse *)  response

Callback when a request has succesfully returned to the client without error.

Parameters
responseAn AKHTTResponse object containg native response and the response data.
Version
1.0