pusher-js/core/transports/transport library

Classes

Transport
Provides interface for transport connection instantiation. Takes transport-specific hooks as the only argument, which allow checking for transport support and creating its connections. Supported hooks: * - file - the name of the file to be fetched during initialization