KrosstalkResponse

class KrosstalkResponse(statusCode: Int, contentType: String?, responseHeaders: Headers, responseBody: ByteArray)

A response to send from the server. Should not set content type if contentType is null.

Constructors

Link copied to clipboard
fun KrosstalkResponse(statusCode: Int, contentType: String?, responseHeaders: Headers, responseBody: ByteArray)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val contentType: String?
Link copied to clipboard
val responseBody: ByteArray
Link copied to clipboard
val responseHeaders: Headers
Link copied to clipboard
val statusCode: Int

Sources

Link copied to clipboard