WebSocketBrowserConnection class

Browser WebSocket adapter for text and bytes without custom request headers.

Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
messages → Stream<Object>
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close([int? code, String? reason]) → Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Object message) → void
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

connect(Uri uri, {List<String> protocols = const [], CancellationToken? cancellationToken}) → Future<WebSocketBrowserConnection>