pusher-js/core/transports/assistant_to_the_transport_manager library

Classes

AssistantToTheTransportManager
Creates transport connections monitored by a transport manager. When a transport is closed, it might mean the environment does not support it. It's possible that messages get stuck in an intermediate buffer or proxies terminate inactive connections. To combat these problems, assistants monitor the connection lifetime, report unclean exits and adjust ping timeouts to keep the connection active. The decision to disable a transport is the manager's responsibility.