RBRestClientJsonCompletionBlock Block Reference
Declared in | RBRestClient.h |
---|
Block Definition
RBRestClientJsonCompletionBlock
A block that is called when a JSON data rest client request has been completed.
typedef void (^RBRestClientJsonCompletionBlock) (id __nullable, jsonResponse ,, RBNetworkResponse *__nonnull, networkResponse ), ; @protocol, RBRestClientDelegate ;, @interface RBRestClient, : NSObject, @property (, nonatomic ,, weak ,, nullable ), id <, RBRestClientDelegate >, delegate ;, - (, void ), cancelAllRequests ;, # pragma, mark -, # pragma, mark Raw, - (, void ), performRequest :, ( nonnull, NSURLRequest *), request completion, : (, nullable RBRestClientDataCompletionBlock, ) completion, ; #, pragma mark, - #, pragma mark, Data Requests, - (, void ), getTo :, ( nonnull, NSURL *), targetUrl httpHeaders, : (, nullable NSDictionary, * ), httpHeaders completion, : (, nullable RBRestClientDataCompletionBlock, ) completion, ; -, ( void, ) postTo, : (, nonnull NSURL, * ), targetUrl bodyData, : (, nullable NSData, * ), bodyData httpHeaders, : (, nullable NSDictionary, * ), httpHeaders completion, : (, nullable RBRestClientDataCompletionBlock)
Discussion
A block that is called when a JSON data rest client request has been completed.
Declared In
RBRestClient.h