PollingTransport class

Inheritance
Implementers

Constructors

PollingTransport(dynamic connect)

Properties

closeTimeout int
getter/setter pair
connect SocketConnect?
getter/setter pairinherited
dataReq SocketConnect?
getter/setter pair
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
shouldClose Function?
getter/setter pair
sid String?
getter/setter pairinherited
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 fn()?]) → void
Closes the transport.
override
doWrite(dynamic data, dynamic options, [dynamic callback]) → void
Performs the write.
emit(String event, [dynamic data]) → void
inherited
hasListeners(String event) bool
inherited
headers(SocketConnect connect, [Map? headers]) Map
Returns headers for a response.
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
Overrides onClose.
override
onData(dynamic data) → void
Processes the incoming data payload.
override
onDataRequest(SocketConnect connect) → void
The client sends a request with data.
onError(dynamic msg, [dynamic desc]) → void
inherited
onPacket(Map packet) → void
inherited
onPollRequest(SocketConnect connect) → void
onRequest(SocketConnect connect) → void
override
send(List packets) → void
Writes a packet payload.
override
toString() String
A string representation of this object.
inherited
write(dynamic data, [dynamic options]) → void
Writes data as response to poll request.

Operators

operator ==(Object other) bool
The equality operator.
inherited