WriterContent

class WriterContent(body: suspend Writer.() -> Unit, val contentType: <Error class: unknown class>, val status: <Error class: unknown class>? = null, val contentLength: Long? = null)

Represents a content that is produced by body function

Constructors

Link copied to clipboard
constructor(body: suspend Writer.() -> Unit, contentType: <Error class: unknown class>, status: <Error class: unknown class>? = null, contentLength: Long? = null)

Properties

Link copied to clipboard
open val contentLength: Long? = null
Link copied to clipboard
open val contentType: <Error class: unknown class>
Link copied to clipboard
open val status: <Error class: unknown class>? = null

Functions

Link copied to clipboard
open suspend fun writeTo(channel: ByteWriteChannel)