Call
Constructors
Functions
Link copied to clipboard
Sends success response with given content type.
fun ok(content: Any, serializationFormat: SerializationFormat = responseFormat, charset: Charset? = null)
Content copied to clipboard
Sends success response serialized using given SerializationFormat and Charset.
Link copied to clipboard
Sends response to the client after serializing using given ContentType instance.
Sends response to the client.
fun send(code: Int, content: Any, serializationFormat: SerializationFormat, charset: Charset?)
Content copied to clipboard
Sends response to the client after serializing using given SerializationFormat and Charset.