Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
WebSocket Server and Client implementation in Erlang/Mochiweb
Erlang
Branch: dev

This branch is 33 commits ahead of davebryson:master

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.