diff --git a/AFAbstractRESTClient/AbstractGETAPICall.h b/AFAbstractRESTClient/AbstractGETAPICall.h index 2bbe9be..51fa26a 100644 --- a/AFAbstractRESTClient/AbstractGETAPICall.h +++ b/AFAbstractRESTClient/AbstractGETAPICall.h @@ -10,6 +10,6 @@ @interface AbstractGETAPICall : NSObject -- (void) executeAPICallWithSuccessBlock:(void (^)(id responseObject)) blockSuccess failure:(void (^)(NSError *error, id responseObject)) blockFailure; +- (void) executeAPICallWithSuccessBlock:(void (^)(NSHTTPURLResponse *response, id responseObject)) blockSuccess failure:(void (^)(NSError *error, id responseObject)) blockFailure; @end diff --git a/AFAbstractRESTClient/AbstractPOSTAPICall.h b/AFAbstractRESTClient/AbstractPOSTAPICall.h index f705132..d567e1e 100644 --- a/AFAbstractRESTClient/AbstractPOSTAPICall.h +++ b/AFAbstractRESTClient/AbstractPOSTAPICall.h @@ -13,6 +13,6 @@ extern NSString *const kServerURLString; @interface AbstractPOSTAPICall : NSObject -- (void) executeAPICallWithSuccessBlock:(void (^)(id responseObject)) blockSuccess failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error)) blockFailure progress: (void (^)(long long totalBytesWritten, long long totalBytesExpectedToWrite)) blockProgress; +- (void) executeAPICallWithSuccessBlock:(void (^)(NSHTTPURLResponse *response, id responseObject)) blockSuccess failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error)) blockFailure progress: (void (^)(long long totalBytesWritten, long long totalBytesExpectedToWrite)) blockProgress; @end