PreMiddleware

public protocol PreMiddleware

Undocumented

  • NetworkClient will call this method before executing a network request.

    Throws

    the method might throw to prevent execution.

    Declaration

    Swift

    func willPerform(_ request: URLRequest) throws

    Parameters

    request

    network request instance.