AlphaXWebSocketConnector class abstract interface

A transport-neutral WebSocket connector.

The connector owns no global session or reconnect policy. Each successful connect returns one caller-owned session. The common contract intentionally has no arbitrary headers because browser WebSocket implementations cannot provide them consistently; connectors must fail rather than silently drop security-sensitive connection metadata that is outside this API.

Properties

capabilities AlphaXWebSocketCapabilities
Capabilities and provider limitations for this connector.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(Uri uri, {Iterable<String> protocols = const <String>[], AlphaXCancellationToken? cancellationToken, Duration? connectTimeout}) Future<AlphaXWebSocketSession>
Establishes one WebSocket session for uri.
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