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
constructor(application: Application, readResponse: Boolean = false, closeRequest: Boolean = true, coroutineContext: CoroutineContext)

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

Functions

Link copied to clipboard
open suspend override fun <T> receiveNullable(typeInfo: TypeInfo): T?
Link copied to clipboard
open suspend override fun respond(message: Any?, typeInfo: TypeInfo?)
Link copied to clipboard
open override fun toString(): String