MemoryRequest
data class MemoryRequest(val method: Method, val uri: Uri, val headers: Headers = listOf(), val body: Body = EMPTY, val version: String = HTTP_1_1, val source: RequestSource? = null) : Request
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
(Copy &) sets the body content.
Link copied to clipboard
This will realise any underlying stream.
Link copied to clipboard
Link copied to clipboard
(Copy &) Add all passed headers.
Link copied to clipboard
Retrieves all header values with this name.
Link copied to clipboard
Link copied to clipboard
(Copy &) remove headers with this name.
Link copied to clipboard
(Copy &) remove headers with this prefix. Default removes all headers.
Link copied to clipboard
(Copy &) remove queries with this prefix. Default removes all queries.
Link copied to clipboard
(Copy &) remove queries with this name.
Link copied to clipboard
(Copy &) Adds a header value with this name, replacing any previously set values.
Link copied to clipboard
Replace all headers with ones passed.
Link copied to clipboard
(Copy &) sets request source.
Link copied to clipboard
(Copy &) sets the Uri.
Link copied to clipboard