execute(_:deadline:logger:)

    Execute arbitrary HTTP requests.

    HTTPClient+execute.swift:29
    iOS
    13.0+
    macOS
    10.15+
    tvOS
    13.0+
    watchOS
    6.0+
    func execute(_ request: HTTPClientRequest, deadline: NIODeadline, logger: Logger? = nil) async throws -> HTTPClientResponse

    Parameters

    request

    HTTP request to execute.

    deadline

    Point in time by which the request must complete.

    logger

    The logger to use for this request.

    Returns

    The response to the request. Note that the body of the response may not yet have been fully received.

    Other members in extension

    Types

    Type members

    Instance members