Returns this BinaryMessage if it is a binary 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.
(message: StringAdd).self
(message: StringFormat).self
(message: ArrowAssoc[Message]).x
(Since version 2.10.0) Use leftOfArrow
instead
(message: Ensuring[Message]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Represents a Websocket message. A message can either be a binary message or a text message.