clean_ajax.client_browser library

Browser implementation of Connection.

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.

Properties

logger Logger
final

Functions

createHttpConnection(dynamic url, Duration delayBetweenRequests, [ int timeout = null ]) Connection
Create new Connection based on ajax polling. [...]

Typedefs

CreateRequest() ClientRequest

Exceptions / Errors

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