Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

WebSocket Server and Client implementation in Erlang/Mochiweb

branch: dev

This branch is 0 commits ahead and 0 commits behind dev

Octocat-spinner-32 src Removed old Makefile.
Octocat-spinner-32 test Added generated files by rebar.
Octocat-spinner-32 .gitignore Added pywebsocket in deps.
Octocat-spinner-32 LICENSE Added New BSD License.
Octocat-spinner-32 Makefile Added pywebsocket in deps.
Octocat-spinner-32 README.rst Updated about run the test.
Octocat-spinner-32 rebar Added rebar and Makefile.
Octocat-spinner-32 rebar.config Added misultin in deps.
README.rst

WebSocket implementation in Erlang

Tests

First, start the WebSocket server:

$ make
$ cd deps/misultin/examples
$ erl -pa ../ebin
1> misultin_websocket_example:start(8888).
{ok,<0.33.0>}

Then, run the test client.:

$ cd deps/pywebsocket/src
$ PYTHONPATH=. python example/echo_client.py -r /test -m hello --origin=localhost -s localhost -p 8888 --protocol_version=hixie75
Send: hello
Recv: received 'hello'
$ PYTHONPATH=. python example/echo_client.py -r /test -m hello --origin=localhost -s localhost -p 8888 --protocol_version=hybi00
Send: hello
Recv: received 'hello'
Send close
Recv ack
Something went wrong with that request. Please try again.