IoWsConnector class

dart:io 的 WebSocket。

Implemented types

Constructors

IoWsConnector()

Properties

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 url, List<String> protocols, {int timeoutMs = 20000}) → Future<WsChannel>
建立连接(含子协议协商);失败时抛出。
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