WriterContent
class WriterContent(body: suspend Writer.() -> Unit, contentType: ContentType, status: HttpStatusCode?) : OutgoingContent.WriteChannelContent
Content copied to clipboard
Represents a content that is produced by body function
Constructors
Link copied to clipboard
fun WriterContent(body: suspend Writer.() -> Unit, contentType: ContentType, status: HttpStatusCode? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Gets an extension property for this content
Link copied to clipboard
Sets an extension property for this content
Link copied to clipboard
Receives channel provided by the engine and writes all data to it
Properties
Link copied to clipboard
Specifies ContentType for this resource.