WsMessage

data class WsMessage(val body: Body, val mode: WsMessage.Mode)

Constructors

Link copied to clipboard
constructor(value: String, mode: WsMessage.Mode = Mode.Text)
constructor(value: ByteBuffer, mode: WsMessage.Mode = Mode.Binary)
constructor(value: ByteArray, mode: WsMessage.Mode = Mode.Binary)
constructor(value: InputStream, mode: WsMessage.Mode = Mode.Binary)
constructor(body: Body, mode: WsMessage.Mode)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
val body: Body
Link copied to clipboard

Functions

Link copied to clipboard
fun body(new: Body, newMode: WsMessage.Mode = mode): WsMessage
Link copied to clipboard