RFSURLRequestInterceptingDelegate

Objective-C

@protocol RFSURLRequestInterceptingDelegate <NSObject>

Swift

protocol URLRequestInterceptingDelegate : NSObjectProtocol

Delegate for intercepting URL requests.

  • Prepares URLRequest before sending it to the service.

    Declaration

    Objective-C

    - (NSURLRequest *_Nullable)interceptorPrepareRequest:
        (NSURLRequest *_Nonnull)request;

    Swift

    func interceptorPrepare(_ request: URLRequest) -> URLRequest?