Package io.ktor.client.request
Types
Default HttpRequest implementation.
A request for HttpClient, first part of HttpClientCall.
Class for building HttpRequestData.
Actual data of the HttpRequest, including url, method, headers, body and executionContext. Built by HttpRequestBuilder.
HttpClient Pipeline used for executing HttpRequest.
Data prepared for HttpResponse.
HttpClient Pipeline used for sending HttpRequest to remote server.
Functions
Appends the Accept
header with a specific contentType.
Appends the HttpHeaders.Authorization to Basic Authorization with the provided username and password. For advanced configuration use the io.ktor:ktor-client-auth
plugin.
Appends the HttpHeaders.Authorization to Bearer Authorization with the provided token. For advanced configuration use the io.ktor:ktor-client-auth
plugin.
Appends a single header of key with a specific value if the value is not null.
Executes a HttpClient DELETE request, with the information from the builder
Executes a HttpClient DELETE request, with the information from the builder
Executes a HttpClient HEAD request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient DELETE request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient HEAD request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient GET request, with the information from the builder
Executes a HttpClient GET request, with the information from the builder
Executes a HttpClient GET request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient GET request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient GET request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient HEAD request, with the information from the builder
Executes a HttpClient HEAD request, with the information from the builder
Executes a HttpClient HEAD request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient HEAD request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient HEAD request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a block that configures the HeadersBuilder associated to this request.
Executes a block that configures the URLBuilder associated to thisrequest.
Constructs a HttpRequestBuilder from URL information: scheme, host, port and path and optionally further configures it using block. Pass null
to keep existing value in the URLBuilder.
Constructs a HttpRequestBuilder from url.
Executes a HttpClient OPTIONS request, with the information from the builder
Executes a HttpClient OPTIONS request, with the information from the builder
Executes a HttpClient OPTIONS request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient OPTIONS request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient OPTIONS request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient PATCH request, with the information from the builder
Executes a HttpClient PATCH request, with the information from the builder
Executes a HttpClient PATCH request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient PATCH request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient PATCH request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient POST request, with the information from the builder
Executes a HttpClient POST request, with the information from the builder
Executes a HttpClient POST request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient POST request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient POST request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient DELETE request, with the information from the builder
Prepares a HttpClient DELETE request, with the information from the builder
Prepares a HttpClient HEAD request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient DELETE request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient HEAD request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient GET request, with the information from the builder
Prepares a HttpClient GET request, with the information from the builder
Prepares a HttpClient GET request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient GET request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient GET request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient HEAD request, with the information from the builder
Prepares a HttpClient HEAD request, with the information from the builder
Prepares a HttpClient HEAD request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient HEAD request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient HEAD request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient OPTIONS request, with the information from the builder
Prepares a HttpClient OPTIONS request, with the information from the builder
Prepares a HttpClient OPTIONS request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient OPTIONS request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient OPTIONS request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient PATCH request, with the information from the builder
Prepares a HttpClient PATCH request, with the information from the builder
Prepares a HttpClient PATCH request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient PATCH request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient PATCH request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient POST request, with the information from the builder
Prepares a HttpClient POST request, with the information from the builder
Prepares a HttpClient POST request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient POST request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient POST request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient PUT request, with the information from the builder
Prepares a HttpClient PUT request, with the information from the builder
Prepares a HttpClient PUT request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient PUT request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient PUT request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Prepares a HttpClient request, with the information from the builder
Prepares a HttpClient request, with the information configured in builder block
Prepares a HttpClient request, with the url and the information configured in builder block
Prepares a HttpClient request, with the urlString and the information configured in builder block
Prepares a HttpClient request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient PUT request, with the information from the builder
Executes a HttpClient PUT request, with the information from the builder
Executes a HttpClient PUT request, with the specified url as Url and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient PUT request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Executes a HttpClient PUT request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Creates a HttpRequestBuilder and configures it with a block of code.
Executes a HttpClient request, with the information from the builder
Executes a HttpClient request, with the information configured in builder block
Executes a HttpClient request, with the url and the information configured in builder block
Executes a HttpClient request, with the urlString and the information configured in builder block
Executes a HttpClient request, with the specified url as URL and an optional block receiving an HttpRequestBuilder for further configuring the request.
Sets the HttpRequestBuilder from request.
Sets the HttpRequestBuilder.url from url.
Executes a block that configures the URLBuilder associated to this request.
Sets the HttpRequestBuilder.url from urlString.
Sets the HttpRequestBuilder.url from url.