writeHead(_:)

    Write HTTP head part and return ResponseBodyWriter to write response body

    ResponseWriter.swift:29
    consuming func writeHead(_ head: HTTPResponse) async throws -> some ResponseBodyWriter

    Parameters

    head

    Response head

    Returns

    Response body writer used to write HTTP response body

    Other members in extension

    Instance members