0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Add EventSource example

Port from extend/cowboy_examples.
This commit is contained in:
Adam Cammack 2013-02-16 02:26:32 -06:00
parent e3daf439da
commit a302fe5007
10 changed files with 187 additions and 0 deletions

3
examples/eventsource/start.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
erl -pa ebin deps/*/ebin -s eventsource \
-eval "io:format(\"Point your browser at http://localhost:8080/~n\")."