init(version:method:uri:headers:)

    Create a HTTPRequestHead

    HTTPTypes.swift:101
    init(version: HTTPVersion, method: HTTPMethod, uri: String, headers: HTTPHeaders)

    Parameters

    version

    The version for this HTTP request.

    method

    The HTTP method for this request.

    uri

    The URI used on this request.

    headers

    This request’s HTTP headers.

    Other members in extension

    Type members

    Instance members