public class PollingXHR extends Polling
Modifier and Type | Class and Description |
---|---|
static class |
PollingXHR.Request |
Transport.Options, Transport.ReadyState
Emitter.Listener
EVENT_POLL, EVENT_POLL_COMPLETE, NAME
callFactory, EVENT_CLOSE, EVENT_DRAIN, EVENT_ERROR, EVENT_OPEN, EVENT_PACKET, EVENT_REQUEST_HEADERS, EVENT_RESPONSE_HEADERS, extraHeaders, hostname, name, path, port, query, readyState, secure, socket, timestampParam, timestampRequests, webSocketFactory, writable
Constructor and Description |
---|
PollingXHR(Transport.Options opts) |
Modifier and Type | Method and Description |
---|---|
protected void |
doPoll() |
protected void |
doWrite(String data,
Runnable fn) |
protected PollingXHR.Request |
request() |
protected PollingXHR.Request |
request(PollingXHR.Request.Options opts) |
doClose, doOpen, onData, onData, pause, uri, write
close, onClose, onError, onOpen, onPacket, open, send
public PollingXHR(Transport.Options opts)
protected PollingXHR.Request request()
protected PollingXHR.Request request(PollingXHR.Request.Options opts)
Copyright © 2022. All rights reserved.