Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
BodyMode represents a choice between working lazily with streams or eagerly storing the body contents in memory.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
HttpMessages are designed to be immutable, so any mutation methods return a modified copy of the message.
Link copied to clipboard
data class HttpTransaction(val request: Request, val response: Response, val duration: Duration, val labels: Map<String, String> = when {
response is ResponseWithRoute -> mapOf(ROUTING_GROUP_LABEL to response.xUriTemplate.toString())
request is RequestWithRoute -> mapOf(ROUTING_GROUP_LABEL to request.xUriTemplate.toString())
else -> emptyMap()
})
Link copied to clipboard
Represents a body that is backed by an in-memory ByteBuffer. Closing this has no effect.
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
In-memory RequestContext store. Override the storeId to use multiple stores in one app.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Represents a body that is backed by a (lazy) InputStream. Operating with StreamBody has a number of potential gotchas:
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard