MockResponse

Constructors

Link copied to clipboard
constructor(statusCode: Int = 200, body: Flow<ByteString> = emptyFlow(), headers: Map<String, String> = mapOf("Content-Length" to "0"), delayMillis: Long = 0)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
val body: Flow<ByteString>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether to keep the TCP connection alive after this response

Link copied to clipboard

Functions

Link copied to clipboard