Skip to content

CrankWheel/engine.io-cowboy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

engine.io-cowboy

Overview

This project is an open-source Erlang implementation of an Engine.IO server. Based on sinnus/socket.io-cowboy and improvements thereto by wuyingfengsui (including adding support for the v1 Socket.IO protocol), this fork modifies its predecessors as follows:

  1. Supports only the Engine.IO protocol, not the Socket.IO protocol, although that would be easy to layer on top.
  2. Removes support for older Socket.IO protocol.
  3. Adds end-to-end tests using the reference implementation of the Engine.IO JavaScript client.

Licensed under the Apache License 2.0.

Features

  • Supports 1.5.0+ version of Engine.IO client
  • Supports polling(jsonp & xhr) transport
  • Supports websocket transport
  • Supports SSL

Usage example

The example you can find in demo directory. Just make and execute start.sh script. Url to check: http://localhost:8080/index.html

TODO

  • Update stress/ folder, or remove it
  • Add tests based on socket.io-client
  • Test binary protocol, both polling protocols, and more
  • Remove non-_v1 implementation from engineio_data_protocol

About

Engine.IO server for Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Erlang 80.6%
  • HTML 10.8%
  • Go 5.0%
  • Python 1.7%
  • JavaScript 1.5%
  • Makefile 0.2%
  • Shell 0.2%