ORAHTTPManager Class Reference
Inherits from | NSObject |
---|---|
Declared in | ORAHTTPManager.h |
Overview
ORAHTTPManager is a singleton class which is useful to initiate any HTTP requests. All network activity generated should be funneled through this class.
Singleton
General Methods
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Initiates GET or POST request using ORARequest object. A callback will be provided upon completion of the request.
- (void)addRequest:(ORARequest *)request completionHandler:(void ( ^ ) ( ORAResponse *response ))completionHandler
Parameters
request
|
The ORARequest object with all the necessary info |
---|---|
completionHandler
|
A callback with data, response, error & requestTag to be returned when the request has finished |
Declared In
ORAHTTPManager.h