Instance Method
send(_:headers:to:beforeSend:)
func send(_ method: HTTPRequest.Method, headers: HTTPFields = [:], to url: URI, beforeSend: (inout ClientRequest) throws -> Void = { _ in }) async throws -> ClientResponse
You're viewing documentation for a pre-release version. View the latest stable version
Instance Method
func send(_ method: HTTPRequest.Method, headers: HTTPFields = [:], to url: URI, beforeSend: (inout ClientRequest) throws -> Void = { _ in }) async throws -> ClientResponse