Protocol
Client
protocol Client : Sendable
Topics
Instance Properties
Instance Methods
func delete(URI, headers: HTTPFields, beforeSend: (inout ClientRequest) throws -> Void) async throws -> ClientResponsefunc get(URI, headers: HTTPFields, beforeSend: (inout ClientRequest) throws -> Void) async throws -> ClientResponsefunc patch(URI, headers: HTTPFields, beforeSend: (inout ClientRequest) throws -> Void) async throws -> ClientResponsefunc patch<T>(URI, headers: HTTPFields, content: T) async throws -> ClientResponsefunc post(URI, headers: HTTPFields, beforeSend: (inout ClientRequest) throws -> Void) async throws -> ClientResponsefunc post<T>(URI, headers: HTTPFields, content: T) async throws -> ClientResponsefunc put(URI, headers: HTTPFields, beforeSend: (inout ClientRequest) throws -> Void) async throws -> ClientResponsefunc put<T>(URI, headers: HTTPFields, content: T) async throws -> ClientResponsefunc send(ClientRequest) async throws -> ClientResponsefunc send(HTTPRequest.Method, headers: HTTPFields, to: URI, beforeSend: (inout ClientRequest) throws -> Void) async throws -> ClientResponse
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype