respondTextWriter

suspend fun <Error class: unknown class>.respondTextWriter(    contentType: ContentType? = null,     status: HttpStatusCode? = null,     writer: suspend Writer.() -> Unit)
suspend fun <Error class: unknown class>.respondTextWriter(    contentType: ContentType? = null,     status: HttpStatusCode? = null,     contentLength: Long? = null,     writer: suspend Writer.() -> Unit)

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.

Report a problem