WsClient class

Implemented types

Constructors

WsClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
restartedStream Stream<bool>
no setter
restartedStreamController StreamController<bool>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
getter/setter pair

Methods

addOnConnectionEstablishedCallback(ConnectionEstablishedCallback callback) → void
initialize(String url, {bool retry = true}) Future<bool>
isClosed() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
restart() → void
sendRequest(String method, [dynamic parameters]) Future
override
status() WebsocketStatus
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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