write

abstract fun write(data: Any, contentType: ContentType): OutgoingContent(source)
open fun write(data: Any): OutgoingContent(source)

Convert data object to OutgoingContent.

Report a problem