Interface Message
-
public interface Message
A GraphQL over WebSocket Protocol message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
connectionParams()
JsonObject
message()
ServerWebSocket
socket()
MessageType
type()
-
-
-
Method Detail
-
socket
ServerWebSocket socket()
- Returns:
- the websocket that received the message
-
type
MessageType type()
- Returns:
- the message type
-
message
JsonObject message()
- Returns:
- the message content
-
connectionParams
Object connectionParams()
- Returns:
- the connection params
-
-