Text

data class Text(val text: String) : FrameBody(source)

Represents the body of a StompFrame that was received as a textual web socket frame.

Constructors

Link copied to clipboard
constructor(utf8Bytes: ByteString)
constructor(text: String)

Properties

Link copied to clipboard
open override val bytes: ByteString

The bytes of this frame body. For a text frame, the text is encoded as UTF-8.

Link copied to clipboard