Package-level declarations
Types
Link copied to clipboard
For upload data in an HTTP Body on a POST/PUT request
Link copied to clipboard
annotation class Cookie(val name: String, val value: String = KTORGEN_DEFAULT_NAME, val maxAge: Int = 0, val expiresTimestamp: Long = -1, val domain: String = "", val path: String = "", val secure: Boolean = false, val httpOnly: Boolean = false, val extensions: Array<Cookie.PairString> = [])
Add a cookie to the request
Link copied to clipboard
Indicate the body will use form URL encoding.
Link copied to clipboard
Add headers to a request
Link copied to clipboard
Adds a single HTTP header whose value is provided at call time.
Link copied to clipboard
Indicate the request body is multipart
Link copied to clipboard
Deprecated, not needed
Link copied to clipboard
Set the URL of the request