ActiveResourceKit
v1.2 (498.0)
|
#import <ActiveResourceKit/ARFormat.h>
Go to the source code of this file.
Classes | |
class | ARConnection |
Connects to a site using a format. More... | |
Typedefs | |
typedef void(^ | ARConnectionCompletionHandler )(ARHTTPResponse *response, NSError *error) |
Defines a lower-level connection-oriented completion handler. | |
typedef void(^ ARConnectionCompletionHandler)(ARHTTPResponse *response, NSError *error) |
Defines a lower-level connection-oriented completion handler.
The handler accepts a basic URL response, not a HTTP response necessarily. Though typically, URL responses will be HTTP responses. Apple's NSHTTPURLResponse
derives from NSURLResponse
. The data argument accepts the body data verbatim. When connection completes, the body remains un-decoded.
Definition at line 37 of file ARConnection.h.