ActiveResourceKit
v1.2 (498.0)
|
#import <ARConnection+Private.h>
Instance Methods | |
(NSDictionary *) | - defaultHeaders |
Supplies default headers for the connection; none by default unless a sub-class overrides this method. | |
(NSDictionary *) | - buildRequestHeaderFieldsUsingHeaders:forHTTPMethod: |
(NSDictionary *) | - HTTPFormatHeaderForHTTPMethod: |
Answers a format header for the given HTTP request method. | |
Definition at line 27 of file ARConnection+Private.h.
- (NSDictionary *) buildRequestHeaderFieldsUsingHeaders: | (NSDictionary *) | headers | |
forHTTPMethod: | (NSString *) | HTTPMethod | |
Extends class ARConnection.
Definition at line 40 of file ARConnection+Private.m.
- (NSDictionary *) defaultHeaders |
Supplies default headers for the connection; none by default unless a sub-class overrides this method.
Sub-classes can override this method to provide headers required for the underlying connection. Please note however, the implementation subsequently overwrites the format header. Similarly, user-supplied headers override headers injected here as defaults.
default_header
, singular. This interface makes it plural since the answer is a dictionary of headers. Extends class ARConnection.
Definition at line 35 of file ARConnection+Private.m.
- (NSDictionary *) HTTPFormatHeaderForHTTPMethod: | (NSString *) | HTTPMethod |
Answers a format header for the given HTTP request method.
HTTPMethod | String containing either GET, PUT, POST, DELETE or HEAD that specifies the HTTP request method. Case must match. |
Extends class ARConnection.
Definition at line 55 of file ARConnection+Private.m.