WebSocketService class

Constructors

WebSocketService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectToWebSocket(String url, Authentication authentication) → WebSocketChannel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessageOnChannel(String message, WebSocketChannel webSocketChannel, Channel channel) → void
sendMessageOnRoom(String message, WebSocketChannel webSocketChannel, Room room) → void
sendUserPresence(WebSocketChannel webSocketChannel) → void
streamChannelMessagesSubscribe(WebSocketChannel webSocketChannel, Channel channel) → void
streamChannelMessagesUnsubscribe(WebSocketChannel webSocketChannel, Channel channel) → void
streamNotifyUserSubscribe(WebSocketChannel webSocketChannel, User user) → void
streamRoomMessagesSubscribe(WebSocketChannel webSocketChannel, Room room) → void
streamRoomMessagesUnsubscribe(WebSocketChannel webSocketChannel, Room room) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited