mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 04:30:25 +00:00
Add cookie example
This commit is contained in:
parent
659ca05c54
commit
a07d063fd8
10 changed files with 159 additions and 0 deletions
14
examples/cookie/src/cookie.erl
Normal file
14
examples/cookie/src/cookie.erl
Normal file
|
@ -0,0 +1,14 @@
|
|||
%% Feel free to use, reuse and abuse the code in this file.
|
||||
|
||||
-module(cookie).
|
||||
|
||||
%% API.
|
||||
-export([start/0]).
|
||||
|
||||
%% API.
|
||||
|
||||
start() ->
|
||||
ok = application:start(crypto),
|
||||
ok = application:start(ranch),
|
||||
ok = application:start(cowboy),
|
||||
ok = application:start(cookie).
|
Loading…
Add table
Add a link
Reference in a new issue