HTTPClient

public protocol HTTPClient

HTTP client.

  • perform(request:completion:) Default implementation

    Performs a HTTP request.

    • Parameters:
      • request: The request to use.
      • completion: The completion block.

    Default Implementation

    Declaration

    Swift

    func perform(request: HTTPRequest,

    Parameters

    request

    The request to use.

    completion

    The completion block.