RequestInterceptor

public protocol RequestInterceptor

A protocol for request interceptor. To be implemented by classes that need to override the request.

  • Intercepts the request before it is sent. Implement this method to override the request.

    Declaration

    Swift

    func intercept(context: FlowContext, request: Request) -> Request