CanaryWebSocket class
Properties
- appSecret ↔ String
-
getter/setter pair
- channel ↔ WebSocketChannel
-
getter/setter pair
- client ↔ WebSocketClient?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
no setter
Methods
-
clear(
) → void -
configure(
String url, String deviceid, String appSecret) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onClosed(
CloseCode code, WebSocketChannel webSocket) → void -
override
-
onConnected(
WebSocketChannel webSocket) → void -
WebSocketProvider
override
-
onMessage(
Uint8List message, WebSocketChannel webSocket) → void -
override
-
onPing(
Uint8List data, WebSocketChannel webSocket) → void -
override
-
onPong(
Uint8List data, WebSocketChannel webSocket) → void -
override
-
onText(
String message, WebSocketChannel webSocket) → void -
override
-
register(
) → void -
send(
WebSocketMessage msg) → void -
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → CanaryWebSocket
-
no setter