IoWebSocketConnection class

Native SDK WebSocket adapter with optional protocol-level ping frames.

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, {CancellationToken? cancellationToken, Map<String, String>? headers, Iterable<String>? protocols, Duration? pingInterval}) → Future<IoWebSocketConnection>