DefaultRequestBuilder
Configuration object for DefaultRequestBuilder plugin
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 block that configures the HeadersBuilder associated to this request.
Executes a block that configures the HeadersBuilder associated to this request.
Sets attributes using block.
Executes a block that configures the URLBuilder associated to this request.
Sets the HttpRequestBuilder.url from urlString.