Class: Transport

(abstract) Transport()

(abstract) new Transport()

The Transport class is the base class for providers of a HTTP transport layer.
A concrete implementation is required to implement Transport#post so that this method returns a Promise that will be resolved or rejected depending on the result of the underlying HTTP request
To create Promise instances, a Transport implementation should use a PromiseProvider. Client instances will automatically provide transports with the configured PromiseProvider as the promiseProvider property.
This level of abstraction allows users of the library to plug in their own implementation in order to use their favorite HTTP transport library. Implementations for Request and jQuery are provided.

Source:
See: