WebSocketTransport class
- Inheritance
-
- Object
- EventEmitter
- Transport
- WebSocketTransport
Constructors
- WebSocketTransport(dynamic connect)
Properties
- connect ↔ SocketConnect?
-
getter/setter pairinherited
- discarded ↔ bool
-
getter/setter pairinherited
- handlesUpgrades → bool
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpCompression ↔ Map?
-
getter/setter pairinherited
- maxHttpBufferSize ↔ double?
-
getter/setter pairinherited
- messageHandler ↔ MessageHandler?
-
getter/setter pairinherited
- name ↔ String?
-
getter/setter pairinherited
- perMessageDeflate ↔ Map?
-
getter/setter pairinherited
- readyState ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sid ↔ String?
-
getter/setter pairinherited
- subscription ↔ StreamSubscription?
-
getter/setter pair
- supportsBinary ↔ bool?
-
getter/setter pairinherited
- supportsFraming → bool
-
no setteroverride
- writable ↔ bool?
-
getter/setter pairinherited
Methods
-
clearListeners(
) → void -
inherited
-
close(
[dynamic closeFn()?]) → void -
inherited
-
discard(
) → void -
inherited
-
doClose(
[dynamic callback()?]) → void -
override
-
emit(
String event, [dynamic data]) → void -
inherited
-
hasListeners(
String event) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
off(
String event, [EventHandler? handler]) → void -
inherited
-
on(
String event, EventHandler handler) → void -
inherited
-
once(
String event, EventHandler handler) → void -
inherited
-
onClose(
) → void -
override
-
onData(
dynamic data) → void -
inherited
-
onError(
dynamic msg, [dynamic desc]) → void -
inherited
-
onPacket(
Map packet) → void -
inherited
-
onRequest(
SocketConnect connect) → void -
inherited
-
send(
List< Map> data) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited