HttpClientCall
A class that represents a single pair of request and response for a specific HttpClient.
Constructors
Link copied to clipboard
fun HttpClientCall(client: HttpClient, requestData: HttpRequestData, responseData: HttpResponseData)
Content copied to clipboard
Link copied to clipboard
Types
Functions
Properties
Link copied to clipboard
Typed Attributes associated to this call serving as a lightweight container.
Link copied to clipboard
Link copied to clipboard
Represents the request sent by the client
Link copied to clipboard
Represents the response sent by the server.
Extensions
Link copied to clipboard
Tries to receive the payload of the response as a specific type T.
Tries to receive the payload of the response as a specific expected type provided in info. Returns response if info corresponds to HttpResponse.
Link copied to clipboard
Fetch data for HttpClientCall and close the origin.
Link copied to clipboard
Content copied to clipboard
fun HttpClientCall.wrapWithContent(content: ByteReadChannel): HttpClientCall
Content copied to clipboard
Wrap existing HttpClientCall with new content.