WebSocketBrowserConnection class
Browser WebSocket adapter for text and bytes without custom request headers.
- Implemented types
Properties
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>