WebSocketResponse

@Serializable
data class WebSocketResponse(val status: Int, val statusText: String, val headers: Map<String, JsonElement>, val headersText: String? = null, val requestHeaders: Map<String, JsonElement>? = null, val requestHeadersText: String? = null)

WebSocket response data.

Constructors

Link copied to clipboard
constructor(status: Int, statusText: String, headers: Map<String, JsonElement>, headersText: String? = null, requestHeaders: Map<String, JsonElement>? = null, requestHeadersText: String? = null)

Properties

Link copied to clipboard
val headers: Map<String, JsonElement>

HTTP response headers.

Link copied to clipboard
val headersText: String? = null

HTTP response headers text.

Link copied to clipboard
val requestHeaders: Map<String, JsonElement>? = null

HTTP request headers.

Link copied to clipboard

HTTP request headers text.

Link copied to clipboard
val status: Int

HTTP response status code.

Link copied to clipboard

HTTP response status text.