Skip to content

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 33 commits ahead of davebryson:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src Removed old Makefile.
test Added generated files by rebar.
.gitignore
LICENSE Added New BSD License.
Makefile Added pywebsocket in deps.
README.rst Updated about run the test.
rebar
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.