InternalKrosstalkResponse
class InternalKrosstalkResponse(statusCode: Int, headers: Headers, body: ByteArray, stringBody: () -> String?)
Content copied to clipboard
The response to a Krosstalk request.
Parameters
stringBody
a lambda to get the body as a string, or null if not possible. Will likely use the response's charset header
Constructors
Link copied to clipboard
fun InternalKrosstalkResponse(statusCode: Int, headers: Headers, body: ByteArray, stringBody: () -> String?)
Content copied to clipboard