SockJS logo

SockJS

Provides a WebSocket-like object to create a low latency, full duplex, cross-domain communication channel between the browser and the web server.

Made by SockJS

  • node-js

  • real-time

  • websocket

  • Javascript

  • Web Development

  • backend-as-a-service

What is SockJS?

SockJS is a browser JavaScript library that provides a WebSocket-like object, creating a low latency, full duplex, cross-domain communication channel between the browser and the web server. The library offers a coherent, cross-browser JavaScript API that works across modern browsers and environments that do not natively support the WebSocket protocol, such as those behind restrictive corporate proxies. Under the hood, SockJS tries to use native WebSockets first, and if that fails, it can utilize a variety of browser-specific transport protocols, presenting them through a consistent WebSocket-like abstraction

Highlights

  • Provides a WebSocket-like object with a cross-browser, JavaScript API
  • Enables low latency, full duplex, cross-domain communication between browser and server
  • Supports modern browsers and environments that do not natively support WebSocket protocol
  • Automatically fallbacks to alternative transport protocols if native WebSocket is unavailable

Platforms

  • JavaScript
  • Node.JS
  • Linux
  • Mac
  • Windows

Languages

  • English

Features

    • Backend