MockzillaHttpRequest

Properties

Link copied to clipboard
abstract val body: String

The string representation of the request body

Link copied to clipboard
abstract val headers: Map<String, String>

Network request's headers

Link copied to clipboard
abstract val method: HttpMethod

Network request method

Link copied to clipboard
abstract val underlyingKtorRequest: ApplicationRequest

The underlying ktor ApplicationRequest.

Link copied to clipboard
abstract val uri: String

The full uri of the network request

Functions

Link copied to clipboard
abstract fun bodyAsBytes(): ByteArray
Link copied to clipboard
abstract fun bodyAsString(): String