WebSocketWrapper class

Constructors

WebSocketWrapper(String url, List<String> protocols, int keepAlivePeriod)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
keepAlivePeriod int
read / write
onClose ↔ dynamic Function(int, String)
read / write
onError ↔ dynamic Function(int, String)
read / write
onMessage ↔ dynamic Function(dynamic)
read / write
onOpen ↔ dynamic Function()
read / write
protocols List<String>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
url String
read / write
webSocketChannel WebSocketChannel
read / write

Methods

close() → dynamic
connect() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
send(dynamic data) → dynamic
toString() String
Returns a string representation of this object.
inherited

Operators

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