ActiveResourceKit  v1.2 (498.0)
 All Classes Files Functions Variables Typedefs Enumerator Properties Macros Pages
Classes | Typedefs | Variables
ARService.h File Reference
#import <Foundation/Foundation.h>
#import <ActiveResourceKit/ARFormat.h>
Include dependency graph for ARService.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ARService
 An active resource's service configuration. More...
 

Typedefs

typedef void(^ ARResourceCompletionHandler )(ARHTTPResponse *response, ARResource *resource, NSError *error)
 Defines a completion handler block type where the results of completion yield a single resource.
 
typedef void(^ ARResourcesCompletionHandler )(ARHTTPResponse *response, NSArray *resources, NSError *error)
 Defines a type of completion handler block where successful completion yields an array of resources.
 

Variables

NSString *const ARFromKey
 
NSString *const ARParamsKey
 

Typedef Documentation

typedef void(^ ARResourceCompletionHandler)(ARHTTPResponse *response, ARResource *resource, NSError *error)

Defines a completion handler block type where the results of completion yield a single resource.

Successful completion gives a single instance.

Definition at line 40 of file ARService.h.

typedef void(^ ARResourcesCompletionHandler)(ARHTTPResponse *response, NSArray *resources, NSError *error)

Defines a type of completion handler block where successful completion yields an array of resources.

The completion handler's resources argument equals nil when completion ends unsuccessfully. In this case, the second argument error supplies the reason.

Definition at line 49 of file ARService.h.

Variable Documentation

NSString* const ARFromKey

Definition at line 32 of file ARService+Private.m.

NSString* const ARParamsKey

Definition at line 33 of file ARService+Private.m.