Sockjs Client - WebSocket Emulation

  •        776

SockJS is a browser JavaScript library that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server. Under the hood SockJS tries to use native WebSockets first. If that fails it can use a variety of browser-specific transport protocols and presents them through WebSocket-like abstractions.

http://sockjs.org
https://github.com/sockjs/sockjs-client

Tags
Implementation
License
Platform

   




Related Projects

sockjs-go - WebSocket emulation - Go server library

  •    Go

SockJS is a JavaScript library (for browsers) that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server, with WebSockets or without. This necessitates the use of a server, which this is one version of, for GO. SockJS-Go is a SockJS server library written in Go.

sockjs-tornado - WebSocket emulation - Python server

  •    Python

SockJS-tornado is a Python server side counterpart of SockJS-client browser library running on top of Tornado framework. (Take look at examples for a complete version).

shoe - streaming sockjs for node and the browser

  •    Javascript

Streaming sockjs for node and the browser.This is a more streaming, more unixy take on sockjs.

primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in

  •    Javascript

Primus, the creator god of transformers but now also known as universal wrapper for real-time frameworks. There are a lot of real-time frameworks available for Node.js and they all have different opinions on how real-time should be done. Primus provides a common low level interface to communicate in real-time using various real-time frameworks.If you deploy your application behind a reverse proxy (Nginx, HAProxy, etc.) you might need to add WebSocket specific settings to its configuration files. If you intend to use WebSockets, please ensure that these settings have been added. There are some example configuration files available in the observing/balancerbattle repository.


tornadio2 - Python socket.io server implementation on top of Tornado framework

  •    Python

Unfortunately, Socket.IO 0.8 branch is abandoned, there are huge amount of bugs and nothing getting fixed. I would suggest to look at alternative options, for example SockJS <http://github.com/sockjs/>. There's sockjs-tornado <http://github.com/mrjoes/sockjs-tornado/> too. I don't plan to support TornadIO2 anymore, assuming that parent library is no longer maintained. If you still want to try Socket.IO 0.8.x with Python, TornadIO2 is quite stable and used in production.

spring-websocket-portfolio

  •    Java

A sample demonstrating capabilities in the Spring Framework to build WebSocket-style messaging applications. The application uses STOMP (over WebSocket) for messaging between browsers and server and SockJS for WebSocket fallback options. Server-side runs on Tomcat, Jetty, WildFly, Glassfish, and other Servlet 3.0+ containers with WebSocket support.

vertx-web - HTTP web applications for Vert.x

  •    Java

Vert.x-Web is a set of building blocks for building web applications with Vert.x. Think of it as a Swiss Army Knife for building modern, scalable, web apps. Template engine implementations are in the template engine sub-project.

sockjs-node - WebSocket emulation - Node.js server

  •    CoffeeScript

WebSocket emulation - Node.js server

sockjs-erlang - WebSocket emulation - Erlang server

  •    Erlang

WebSocket emulation - Erlang server

zerogw - A fast HTTP/WebSocket to zeromq gateway (UNMAINTAINED, take a look at swindon web server instead)

  •    C

Zerogw is a http to zeromq gateway. Which means it listens HTTP, parses request and sends it using zeromq socket (ZMQ_REQ). Then waits for the reply and responds with data received from zeromq socket. Starting with v0.3 zerogw also supports WebSockets. Websockets are implemented by forwarding incoming messages using ZMQ_PUB socket, and listening commands from ZMQ_SUB socket. Each WebSocket client can be subscribed to unlimited number of topics. Each zeromq message it either control message (e.g. subscription) or message to a specified topic which will be efficiently sent to every WebSocket subscribed to that particular topic.

emqttd - EMQ - Erlang MQTT Broker

  •    Erlang

EMQ (Erlang MQTT Broker) is a distributed, massively scalable, highly extensible MQTT message broker written in Erlang/OTP. EMQ is fully open source and licensed under the Apache Version 2.0. EMQ implements both MQTT V3.1 and V3.1.1 protocol specifications, and supports MQTT-SN, CoAP, WebSocket, STOMP and SockJS at the same time.

node-chat - :speech_balloon: Chat application built with NodeJS and Material Design

  •    Javascript

This is a node.js chat application powered by SockJS and Express that provides the main functions you'd expect from a chat, such as emojis, private messages, an admin system, etc. .

SuperWebSocket - SuperWebSocket is a .NET implementation of WebSocket server.

  •    CSharp

WebSocket is a technology providing for bi-directional, full-duplex communications channels, over a single Transmission Control Protocol (TCP) socket. It is designed to be implemented in web browsers and web servers but it can be used by any client or server application. The WebSocket API is being standardized by the W3C and the WebSocket protocol is being standardized by the IETF. Please refer to http://en.wikipedia.org/wiki/WebSockets.SuperWebSocket is being merged into SuperSocket as an additional module SuperSocket.WebSocket. You can use SuperSocket.WebSocket in the same way with SuperWebSocket but with a different namespace.

AndroidAsync - Asynchronous socket, http (client+server), websocket, and socket

  •    Java

AndroidAsync is a low level network protocol library. If you are looking for an easy to use, higher level, Android aware, http request library, check out Ion (it is built on top of AndroidAsync). The typical Android app developer would probably be more interested in Ion. But if you're looking for a raw Socket, HTTP client/server, WebSocket, and Socket.IO library for Android, AndroidAsync is it.

WebSocket-Node - A WebSocket Implementation for Node.JS (Draft -08 through the final RFC 6455)

  •    Javascript

This is a (mostly) pure JavaScript implementation of the WebSocket protocol versions 8 and 13 for Node. There are some example client and server applications that implement various interoperability testing protocols in the "test/scripts" folder. For a WebSocket client written in ActionScript 3, see my AS3WebScocket project.

SuperWebSocket, a .NET WebSocket Server

  •    ASPNET

A .NET server side implementation of WebSocket protocol.

SwiftWebSocket - Fast Websockets in Swift for iOS and OSX

  •    Swift

Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX.SwiftWebSocket passes all 521 of the Autobahn's fuzzing tests, including strict UTF-8, and message compression.

Nugget: Web Socket Server

  •    CSharp

A web socket server implemented in c#. The goal of the projects is to create an easy way to start using HTML5 web sockets in .NET web applications.