Inherits from NSObject
Declared in GHKAPIResponse.h
GHKAPIResponse.m

Overview

API response class

Properties

error

@property (nonatomic, strong) NSError *error

Declared In

GHKAPIResponse.h

firstURL

@property (nonatomic, strong) NSURL *firstURL

Declared In

GHKAPIResponse.h

httpResponse

@property (nonatomic, strong) NSHTTPURLResponse *httpResponse

Declared In

GHKAPIResponse.h

itemClass

@property (nonatomic, strong) Class itemClass

Declared In

GHKAPIResponse.h

lastURL

@property (nonatomic, strong) NSURL *lastURL

Declared In

GHKAPIResponse.h

nextURL

@property (nonatomic, strong) NSURL *nextURL

Declared In

GHKAPIResponse.h

prevURL

@property (nonatomic, strong) NSURL *prevURL

Declared In

GHKAPIResponse.h

success

@property (nonatomic) BOOL success

Declared In

GHKAPIResponse.h

Instance Methods

all

- (NSArray *)all

Declared In

GHKAPIResponse.h

first

- (id)first

Declared In

GHKAPIResponse.h

next

- (id)next

Declared In

GHKAPIResponse.h

parseLinkHeader:

- (NSDictionary *)parseLinkHeader:(NSString *)headerField

Declared In

GHKAPIResponse.h

processResponse:data:error:

- (void)processResponse:(NSURLResponse *)response data:(NSData *)data error:(NSError *)error

Declared In

GHKAPIResponse.h

reset

- (void)reset

Declared In

GHKAPIResponse.h