Skip to content
WebSocket Server and Client implementation in Erlang/Mochiweb
Erlang
Pull request Compare This branch is 33 commits ahead of davebryson:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
test
.gitignore
LICENSE
Makefile
README.rst
rebar
rebar.config

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.