AWSHTTPURLResponseSerializer

Objective-C

@protocol AWSHTTPURLResponseSerializer <NSObject>

@required

- (BOOL)validateResponse:(NSHTTPURLResponse *)response
             fromRequest:(NSURLRequest *)request
                    data:(id)data
                   error:(NSError *__autoreleasing *)error;
- (id)responseObjectForResponse:(NSHTTPURLResponse *)response
                originalRequest:(NSURLRequest *)originalRequest
                 currentRequest:(NSURLRequest *)currentRequest
                           data:(id)data
                          error:(NSError *__autoreleasing *)error;

@end

Swift

protocol AWSHTTPURLResponseSerializer : NSObjectProtocol

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (BOOL)validateResponse:(NSHTTPURLResponse *)response
                 fromRequest:(NSURLRequest *)request
                        data:(id)data
                       error:(NSError *__autoreleasing *)error;

    Swift

    func validate(_ response: HTTPURLResponse!, from request: URLRequest!, data: Any!) throws
  • Undocumented

    Declaration

    Objective-C

    - (id)responseObjectForResponse:(NSHTTPURLResponse *)response
                    originalRequest:(NSURLRequest *)originalRequest
                     currentRequest:(NSURLRequest *)currentRequest
                               data:(id)data
                              error:(NSError *__autoreleasing *)error;

    Swift

    func responseObject(for response: HTTPURLResponse!, originalRequest: URLRequest!, currentRequest: URLRequest!, data: Any!) throws -> Any