XHRTransport class

Inheritance

Constructors

XHRTransport(SocketConnect connect)

Properties

closeTimeout int
getter/setter pairinherited
connect SocketConnect?
getter/setter pairinherited
dataReq SocketConnect?
getter/setter pairinherited
discarded bool
getter/setter pairinherited
handlesUpgrades bool
no setterinherited
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 pairinherited
sid String?
getter/setter pairinherited
supportsBinary bool?
getter/setter pairinherited
supportsFraming bool
no setterinherited
writable bool?
getter/setter pairinherited

Methods

clearListeners() → void
inherited
close([dynamic closeFn()?]) → void
inherited
discard() → void
inherited
doClose([dynamic fn()?]) → void
Closes the transport.
inherited
doWrite(dynamic data, dynamic options, [dynamic callback]) → void
Performs the write.
inherited
emit(String event, [dynamic data]) → void
inherited
hasListeners(String event) bool
inherited
headers(SocketConnect connect, [Map? headers]) Map
Returns headers for a response.
override
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.
inherited
onData(dynamic data) → void
Processes the incoming data payload.
inherited
onDataRequest(SocketConnect connect) → void
The client sends a request with data.
inherited
onError(dynamic msg, [dynamic desc]) → void
inherited
onPacket(Map packet) → void
inherited
onPollRequest(SocketConnect connect) → void
inherited
onRequest(SocketConnect connect) → void
Overrides onRequest to handle OPTIONS..
override
send(List packets) → void
Writes a packet payload.
inherited
toString() String
A string representation of this object.
inherited
write(dynamic data, [dynamic options]) → void
Writes data as response to poll request.
inherited

Operators

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