[go: up one dir, main page]

Skip to content

lyxsus/erlang_websocket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

WebSocket Server and Client implementation in Erlang/Mochiweb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published