Returns a source of the text message data.
Returns the strict message text if this message is strict, throws otherwise.
Is this message a strict one?
Returns this BinaryMessage if it is a binary message, throws otherwise.
Returns this BinaryMessage if it is a binary message, throws otherwise.
Returns this TextMessage if it is a text message, throws otherwise.
Returns this TextMessage if it is a text message, throws otherwise.
Is this message a text message? If true, asTextMessage will return this text message, if false, asBinaryMessage will return this binary message.
Is this message a text message? If true, asTextMessage will return this text message, if false, asBinaryMessage will return this binary message.
(textMessage: StringAdd).self
(textMessage: StringFormat).self
(textMessage: ArrowAssoc[TextMessage]).x
(Since version 2.10.0) Use leftOfArrow
instead
(textMessage: Ensuring[TextMessage]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Represents a Websocket text message. A text message can either be strict in which case the complete data is already available or it can be streamed in which case getStreamedText will return a Source streaming the data as it comes in.