EBJSONRequest Class Reference
Inherits from | EBRequest : NSObject |
Declared in | EBJSONRequest.h EBJSONRequest.m |
Overview
EBJSONRequest returns JSON or Custom objects in the completion block. For more information see property JSONObjectMapper
Tasks
Other Methods
-
JSONObjectMapper
Optional argument. If the parameter is not nil, the result of the mapping will be custom classes instead of NSDictionary and NSArrays.
property
Other Methods
-
– initWithURL:
Creates a new request with the specified URL. Not started until start is called.
-
– start
Starts an asynchronous request
-
– stop
Stops an asynchronous request.
-
– isRunning
Specifies whether the current request is running.
Properties
JSONObjectMapper
Optional argument. If the parameter is not nil, the result of the mapping will be custom classes instead of NSDictionary and NSArrays.
@property (nonatomic, retain) EBJSONObjectMapper *JSONObjectMapper
Discussion
Optional argument. If the parameter is not nil, the result of the mapping will be custom classes instead of NSDictionary and NSArrays.
Declared In
EBJSONRequest.h
Instance Methods
initWithURL:
Creates a new request with the specified URL. Not started until start is called.
- (id)initWithURL:(NSURL *)url
Parameters
- url
URL for the request.
Discussion
Creates a new request with the specified URL. Not started until start is called.
Declared In
EBRequest.h
isRunning
Specifies whether the current request is running.
- (BOOL)isRunning
Discussion
Specifies whether the current request is running.
Declared In
EBRequest.h