SockJS 是一个浏览器上运行的 JavaScript 库,如果浏览器不支持 WebSocket,该库可以模拟对 WebSocket 的支持,实现浏览器和 Web 服务器之间低延迟、全双工、跨域的通讯通道。

SockJS family:

SockJS-client [1] JavaScript client library
SockJS-node [2] Node.js server
SockJS-erlang [3] Erlang server
SockJS-tornado [4] Python/Tornado server
SockJS-twisted [5] Python/Twisted server
vert.x [6] Java/vert.x server

Work in progress:

SockJS-ruby [7]
SockJS-netty [8]
SockJS-gevent (SockJS-gevent fork) [9]
pyramid-SockJS [10]
wildcloud-websockets [11]
SockJS-cyclone [12]
wai-SockJS [13]
SockJS-perl [14]
SockJS-go [15]


  1. https://github.com/sockjs/sockjs-client

  2. https://github.com/sockjs/sockjs-node

  3. https://github.com/sockjs/sockjs-erlang

  4. https://github.com/MrJoes/sockjs-tornado

  5. https://github.com/DesertBus/sockjs-twisted/

  6. https://github.com/vert-x/vert.x

  7. https://github.com/nyarly/sockjs-ruby

  8. https://github.com/cgbystrom/sockjs-netty

  9. https://github.com/njoyce/sockjs-gevent

  10. https://github.com/fafhrd91/pyramid_sockjs

  11. https://github.com/wildcloud/wildcloud-websockets

  12. https://github.com/flaviogrossi/sockjs-cyclone

  13. https://github.com/Palmik/wai-sockjs

  14. https://github.com/vti/sockjs-perl

  15. https://github.com/igm/sockjs-go/

标签: 浏览器,family,服务器,全双工,Java