Package-level declarations

Types

Link copied to clipboard

An HTTP header.

An HTTP header.

Functions

Link copied to clipboard
fun FormData(vararg data: Pair<String, String>): FormData
fun FormData(vararg data: Pair<String, String>): FormData

Creates a new instance of FormData using the given data.

Link copied to clipboard
fun TextData(value: String): TextData
fun TextData(value: String): TextData

Creates a new instance of TextData with the given value.

Link copied to clipboard

Creates a new instance of UrlRequestJob.Options with the given status and HTTP header.

Creates a new instance of UrlRequestJob.Options with the given status and contentType HTTP header.

Creates a new instance of UrlRequestJob.Options with the given status and HTTP headers.