AWSNetworkingHTTPResponseInterceptor

Objective-C

@protocol AWSNetworkingHTTPResponseInterceptor <NSObject>

@required
- (AWSTask *)interceptResponse:(NSHTTPURLResponse *)response
                         data:(id)data
              originalRequest:(NSURLRequest *)originalRequest
               currentRequest:(NSURLRequest *)currentRequest;

@end

Swift

protocol AWSNetworkingHTTPResponseInterceptor : NSObjectProtocol

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (AWSTask *)interceptResponse:(NSHTTPURLResponse *)response
                             data:(id)data
                  originalRequest:(NSURLRequest *)originalRequest
                   currentRequest:(NSURLRequest *)currentRequest;

    Swift

    func interceptResponse(_ response: HTTPURLResponse!, data: Any!, originalRequest: URLRequest!, currentRequest: URLRequest!) -> AWSTask!