A library for server-client communication and interaction Client(Browser) side

Typedefs

CreateRequest() ClientRequest

Properties

logger → dynamic

read-only

Functions

createLoopBackConnection(MultiRequestHandler requestHandler, [authenticatedUserId]) 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.

Exceptions / Errors

CancelError

ConnectionError

FailedRequestException

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

ResponseError