MMNetworkRequestProxy Class Reference
| Inherits from | NSObject |
| Conforms to | MMNetworkClientProtocol |
| Declared in | MMNetworkClientProxy.h MMNetworkClientProxy.m |
Overview
A service layer that allows calls to the network
in order to retrieve information from the server.
This allows you to swap out the mechanism used to
retrieve information from a server. Currently, a
NSURLConnectionis used to retrieve informationfrom a server.
Instance Methods
performNetworkRequest:completionHandler:
- Represents the intent to retrieve data from
- (void)performNetworkRequest:(NSMutableURLRequest *)request completionHandler:(NetworkResponseBlock)completionBlockDiscussion
- a server.
*
@param request The request object.
@param completionBlock The callback block that is
to be called when network callreturns.
Declared In
MMNetworkClientProtocol.h