SimpleWebSocket class
implement web socket class for mobile///
- Implemented types
Constructors
- SimpleWebSocket.new(String _url)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onClose ↔ dynamic Function(int code, String reason)?
-
getter/setter pairoverride
- onMessage ↔ dynamic Function(dynamic msg)?
-
getter/setter pairoverride
- onOpen ↔ dynamic Function()?
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
close web socket ///
override
-
connect(
) → Future< void> -
connect to web socket ///
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
dynamic data) → Future< void> -
send data to web socket ///
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited