respondTextWriter
suspend fun ApplicationCall.respondTextWriter(contentType: ContentType? = null, status: HttpStatusCode? = null, writer: suspend Writer.() -> Unit)
Content copied to clipboard
Respond with text content writer.
The writer parameter will be called later when engine is ready to produce content. Provided Writer will be closed automatically.