WebSocketHandler class

Implemented types

Constructors

WebSocketHandler({required String url, required IHttpClient httpClient, required String origin, Duration heartbeatInterval = const Duration(seconds: 30)})

Properties

channel → StreamChannel<String>?
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
heartbeatInterval Duration
final
httpClient IHttpClient
final
origin String
final
ready Future<void>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

close() Future<void>
override
init() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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