WebSocketResponse

data class WebSocketResponse(status: Int, statusText: String, headers: Headers, headersText: String?, requestHeaders: Headers?, requestHeadersText: String?)

WebSocket response data.

Constructors

WebSocketResponse
Link copied to clipboard
fun WebSocketResponse(status: Int, statusText: String, headers: Headers, headersText: String? = null, requestHeaders: Headers? = null, requestHeadersText: String? = null)

Properties

headers
Link copied to clipboard
val headers: Headers
HTTP response headers.
headersText
Link copied to clipboard
val headersText: String? = null
HTTP response headers text.
requestHeaders
Link copied to clipboard
val requestHeaders: Headers? = null
HTTP request headers.
requestHeadersText
Link copied to clipboard
val requestHeadersText: String? = null
HTTP request headers text.
status
Link copied to clipboard
val status: Int
HTTP response status code.
statusText
Link copied to clipboard
val statusText: String
HTTP response status text.

Sources

jvm source
Link copied to clipboard