TestApplicationCall

class TestApplicationCall(application: Application, readResponse: Boolean = false, closeRequest: Boolean = true, val coroutineContext: CoroutineContext) : BaseApplicationCall, CoroutineScope

A test application call that is used in withTestApplication and handleRequest.

Constructors

Link copied to clipboard
fun TestApplicationCall(application: Application, readResponse: Boolean = false, closeRequest: Boolean = true, coroutineContext: CoroutineContext)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
override val application: Application
Link copied to clipboard
override val attributes: Attributes
Link copied to clipboard
Link copied to clipboard
open override val parameters: Parameters
Link copied to clipboard
open override val request: TestApplicationRequest
Link copied to clipboard

Set to true when the request has been handled and a response has been produced.

Link copied to clipboard