Companion

object Companion

Functions

Link copied to clipboard
fun <T> data(data: T): StreamResponse.Data<T>

Creates a data response with the given data.

Link copied to clipboard

Creates an end-of-stream response.

Link copied to clipboard

Creates a failure response with the given exception.