api

http4k / org.http4k.websocket / WsStatus

WsStatus

data class WsStatus (source)

Constructors

Name Summary
<init> WsStatus(code: Int, description: String)

Properties

Name Summary
code val code: Int
description val description: String

Functions

Name Summary
description fun description(description: String): WsStatus
equals fun equals(other: Any?): Boolean
hashCode fun hashCode(): Int
toString fun toString(): String

Companion Object Properties

Name Summary
ABNORMAL_CLOSE val ABNORMAL_CLOSE: WsStatus
BUGGYCLOSE val BUGGYCLOSE: WsStatus
EXTENSION val EXTENSION: WsStatus
FLASHPOLICY val FLASHPOLICY: WsStatus
GOING_AWAY val GOING_AWAY: WsStatus
NEVER_CONNECTED val NEVER_CONNECTED: WsStatus
NO_UTF8 val NO_UTF8: WsStatus
NOCODE val NOCODE: WsStatus
NORMAL val NORMAL: WsStatus
POLICY_VALIDATION val POLICY_VALIDATION: WsStatus
PROTOCOL_ERROR val PROTOCOL_ERROR: WsStatus
REFUSE val REFUSE: WsStatus
TLS_ERROR val TLS_ERROR: WsStatus
TOOBIG val TOOBIG: WsStatus
UNEXPECTED_CONDITION val UNEXPECTED_CONDITION: WsStatus

Extension Functions

Name Summary
with fun <T> T.with(vararg modifiers: (T) -> T): T