OutputStreamContent
class OutputStreamContent(body: suspend OutputStream.() -> Unit, val contentType: <Error class: unknown class>, val status: <Error class: unknown class>? = null, val contentLength: Long? = null)
OutgoingContent to respond with OutputStream. The stream would be automatically closed after body finish.
Constructors
Link copied to clipboard
constructor(body: suspend OutputStream.() -> Unit, contentType: <Error class: unknown class>, status: <Error class: unknown class>? = null, contentLength: Long? = null)