Package-level declarations
Types
Default HttpRequest implementation.
A request for HttpClient, first part of HttpClientCall.
Contains parameters used to make an HTTP request.
Actual data of the HttpRequest, including url, method, headers, body and executionContext. Built by HttpRequestBuilder.
An HttpClient's pipeline used for executing HttpRequest.
Data prepared for HttpResponse.
An HttpClient's pipeline used for sending HttpRequest to a remote server.
Properties
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 parameters configured in builder.
Executes an HttpClient's DELETE request with the parameters configured in block.
Executes a HttpClient HEAD request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's DELETE request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's GET request with the parameters configured in builder.
Executes an HttpClient's GET request with the parameters configured in block.
Executes a HttpClient GET request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's GET request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes a HttpClient HEAD request with the parameters configured in builder.
Executes an HttpClient's HEAD request with the parameters configured in block.
Executes a HttpClient HEAD request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's HEAD request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes a block that configures the HeadersBuilder associated to this request.
Executes a block that configures the URLBuilder associated to this request.
Constructs a HttpRequestBuilder from URL information: scheme, host, port and path and optionally further configures it using block. Pass null
to keep the existing value in the URLBuilder.
Executes a HttpClient OPTIONS request with the parameters configured in builder.
Executes an HttpClient's OPTIONS request with the parameters configured in block.
Executes a HttpClient OPTIONS request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's OPTIONS request with the specified url and an optional block receiving an HttpRequestBuilder for 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 parameters configured in builder.
Executes an HttpClient's PATCH request with the parameters configured in block.
Executes a HttpClient PATCH request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's PATCH request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's POST request with the parameters configured in builder.
Executes an HttpClient's POST request with the parameters configured in block.
Executes a HttpClient POST request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's POST request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's DELETE request with the parameters configured in builder.
Prepares an HttpClient's DELETE request with the parameters configured in block.
Prepares a HttpClient HEAD request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's DELETE request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's GET request with the parameters configured in builder.
Prepares an HttpClient's GET request with the parameters configured in block.
Prepares a HttpClient GET request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's GET request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's HEAD request with the parameters configured in builder.
Prepares an HttpClient's HEAD request with the parameters configured in block.
Prepares a HttpClient HEAD request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's HEAD request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's OPTIONS request with the parameters configured in builder.
Prepares an HttpClient's OPTIONS request with the parameters configured in block.
Prepares a HttpClient OPTIONS request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's OPTIONS request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's PATCH request with the parameters configured in builder.
Prepares an HttpClient's PATCH request with the parameters configured in block.
Prepares a HttpClient PATCH request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's PATCH request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's POST request with the parameters configured in builder.
Prepares an HttpClient's POST request with the parameters configured in block.
Prepares a HttpClient POST request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's POST request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's PUT request with the parameters configured in builder.
Prepares an HttpClient's PUT request with the parameters configured in block.
Prepares a HttpClient PUT request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Prepares an HttpClient's PUT request with the specified url and an optional block receiving an HttpRequestBuilder for 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 an HttpClient's request with the parameters specified using builder.
Prepares an HttpClient's request with the parameters specified using block.
Prepares an HttpClient's request with the url and the parameters configured in block.
Prepares an HttpClient's request with the urlString and the parameters configured in 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 parameters configured in builder.
Executes an HttpClient's PUT request with the parameters configured in block.
Executes a HttpClient PUT request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Executes an HttpClient's PUT request with the specified url and an optional block receiving an HttpRequestBuilder for configuring the request.
Creates an HttpRequestBuilder and configures it using block.
Executes an HTTP request using the provided HttpRequestBuilder configuration.
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.