0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00
cowboy/examples/websocket
Loïc Hoguin 4a30198f90 Make cowlib a proper dependency
Start moving a few functions from Cowboy into cowlib.
2013-09-04 19:24:54 +02:00
..
priv Fix issue when modifying websocket example 2013-08-27 19:27:29 +02:00
src Make cowlib a proper dependency 2013-09-04 19:24:54 +02:00
README.md Merge branch 'websocket-example' of https://github.com/pvieytes/cowboy 2013-01-30 14:57:25 +01:00
rebar.config Improve Websocket example 2013-02-09 15:38:35 +01:00
start.sh add websocket example 2013-01-30 10:11:39 +01:00

Cowboy websocket

To compile this example you need rebar in your PATH.

Type the following command:

$ rebar get-deps compile

You can then start the Erlang node with the following command:

./start.sh

Then point your browser to the indicated URL to open a websocket client. Not all browsers support websockets. It was tested with Chromium.