0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 13:10:24 +00:00
cowboy/examples/eventsource/src/eventsource.erl
Adam Cammack a302fe5007 Add EventSource example
Port from extend/cowboy_examples.
2013-02-16 02:26:32 -06:00

14 lines
269 B
Erlang

%% Feel free to use, reuse and abuse the code in this file.
-module(eventsource).
%% API.
-export([start/0]).
%% API.
start() ->
ok = application:start(crypto),
ok = application:start(ranch),
ok = application:start(cowboy),
ok = application:start(eventsource).