Builder

class Builder

Constructors

Link copied to clipboard
open fun Builder()

Functions

Link copied to clipboard
HTTP Body data transmitted in an HTTP transaction message immediately following the headers if there is any.
Link copied to clipboard
open fun build(): HttpRequest
Link copied to clipboard
open fun flags(flags: Int): HttpRequest.Builder
Various flags that control HttpRequest processing.
Link copied to clipboard
HTTP headers to include.
Link copied to clipboard
HTTP defines a set of request methods to indicate the desired action to be performed for a given resource.
Link copied to clipboard
Restrict the request to the specified network types.
Link copied to clipboard
SDK Information to be appended to the User-Agent string.
Link copied to clipboard
open fun timeout(timeout: Long): HttpRequest.Builder
Timeout defines how long, in seconds, the request is allowed to take in total (including connecting to the host).
Link copied to clipboard
URL the request should be sent to