akka.http.scaladsl.model.ws.Message
The ADT for WebSocket messages. A message can either be a binary or a text message.
Attributes
-
Source
-
Message.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Returns this BinaryMessage if it is a binary message, throws otherwise.
Returns this BinaryMessage if it is a binary message, throws otherwise.
Attributes
-
Inherited from:
-
Message
-
Source
-
Message.scala
Returns this TextMessage if it is a text message, throws otherwise.
Returns this TextMessage if it is a text message, throws otherwise.
Attributes
-
Inherited from:
-
Message
-
Source
-
Message.scala
Is this message a strict one?
Is this message a text message? If true, asTextMessage will return this text message, if false, asBinaryMessage will return this binary message.