Transport class abstract
- Inheritance
-
- Object
- EventEmitter
- Transport
- Implementers
Constructors
- Transport(dynamic connect)
Properties
- connect ↔ SocketConnect?
-
getter/setter pair
- discarded ↔ bool
-
getter/setter pair
- handlesUpgrades → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpCompression ↔ Map?
-
getter/setter pair
- maxHttpBufferSize ↔ double?
-
getter/setter pair
- messageHandler ↔ MessageHandler?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- perMessageDeflate ↔ Map?
-
getter/setter pair
- readyState ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sid ↔ String?
-
getter/setter pair
- supportsBinary ↔ bool?
-
getter/setter pair
- supportsFraming → bool
-
no setter
- writable ↔ bool?
-
getter/setter pair
Methods
-
clearListeners(
) → void -
inherited
-
close(
[dynamic closeFn()?]) → void -
discard(
) → void -
doClose(
[dynamic callback()?]) → void -
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 -
onData(
dynamic data) → void -
onError(
dynamic msg, [dynamic desc]) → void -
onPacket(
Map packet) → void -
onRequest(
SocketConnect connect) → void -
send(
List< Map> data) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited