TestApplicationCall

class TestApplicationCall(application: <ERROR CLASS>, readResponse: Boolean, closeRequest: Boolean, coroutineContext: CoroutineContext) : CoroutineScope

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

Constructors

Link copied to clipboard
fun TestApplicationCall(application: <ERROR CLASS>, readResponse: Boolean = false, closeRequest: Boolean = true, coroutineContext: CoroutineContext)

Functions

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

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
open val request: TestApplicationRequest
Link copied to clipboard
val requestHandled: Boolean

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

Link copied to clipboard
open val response: TestApplicationResponse