#import <IJAbstractBackend.h>
- (NSOperation *) operationWithRequest: |
|
(NSURLRequest *) |
request |
success: |
|
(void(^)(NSOperation *operation, id responseObject)) |
success |
failure: |
|
(void(^)(IJError *error)) |
failure |
|
|
| |
ABSTRACT METHOD. You'll need to write your custom implementation.
This will create and return an NSOperation.
- (void) queueRequest: |
|
(NSURLRequest *) |
request |
success: |
|
(void(^)(NSOperation *operation, id responseObject)) |
success |
failure: |
|
(void(^)(IJError *error)) |
failure |
|
|
| |
ABSTRACT METHOD. You'll need to write your custom implementation.
This will add a request to a queue so you can stop all operations in case you don't need them anymore. In case you need to implement a not-contemplated method in your repositories you'll need to send your request here. Other way you won't never use it.
- (NSOperationQueue*) operationsQueue |
|
readwriteatomicstrong |
The documentation for this class was generated from the following file: