Browser implementation of Connection.

Typedefs

CreateRequest() ClientRequest

Properties

logger → dynamic

read-only

Functions

createHttpConnection(url, Duration delayBetweenRequests, [int timeout = null]) Connection

Create new Connection based on ajax polling.

Classes

ClientRequest

Connection

Representation of connection to server.

HttpTransport

Transport mechanism using ajax polling used by createHttpConnection.

LoopBackTransport

Transport mechanism used on server, that directly uses RequestHandler, used by createLoopBackConnection.

LoopBackTransportStub

Transport

Interface implemented by various transport mechanisms used by Connection like HttpTransport and LoopBackTransport.

Exceptions / Errors

CancelError

ConnectionError

FailedRequestException

Exception thrown when the server does not respond to request or responds with HTTP error code.

ResponseError