WebSocketClient class

Constructors

WebSocketClient(String url, {required WebSocketProvider provider, Map<String, String>? headers})

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
provider WebSocketProvider
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
getter/setter pair

Methods

close({CloseCode code = CloseCode.normal}) Future<bool>
connect() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
secKey() String
sendData(Uint8List data) → void
sendPing(Uint8List data) → void
sendText(String text) → void
toString() String
A string representation of this object.
inherited

Operators

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