api

http4k / org.http4k.websocket / WsMessage

WsMessage

data class WsMessage (source)

Constructors

Name Summary
<init> WsMessage(value: String)
WsMessage(value: InputStream)
WsMessage(body: Body)

Properties

Name Summary
body val body: Body

Functions

Name Summary
body fun body(new: Body): WsMessage
bodyString fun bodyString(): String

Extension Functions

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

Companion Object Extension Functions

Name Summary
binary fun WsMessage.Companion.binary(): BiDiWsMessageLensSpec<ByteBuffer>
string fun WsMessage.Companion.string(): BiDiWsMessageLensSpec<String>