1 مستودع
JavaScript libraries that provide a WebSocket-compatible API with automatic fallback to older transport methods.
Distinct from WebSocket Libraries: Candidates are simple lists of libraries; this specifies the emulation and fallback behavior of the API.
Explore 1 awesome GitHub repository matching web development · WebSocket Emulation Libraries. Refine with filters or upvote what's useful.
sockjs-client is a JavaScript library that provides a WebSocket-compatible API for real-time, bidirectional communication between a web browser and a server. It functions as a transport-layer abstraction that ensures a stable full-duplex connection by emulating socket behavior. The library is distinguished by its automatic protocol-fallback mechanisms. When native WebSockets are unavailable or blocked by restrictive network environments, such as firewalls or proxies, it switches to HTTP-streaming emulation or XHR-polling to maintain connectivity. It covers capabilities for cross-domain data
Offers a WebSocket-compatible API with automatic fallbacks to streaming or polling to ensure broad browser support.