0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00

Add an example with custom middleware

This commit is contained in:
Adam Cammack 2013-02-09 04:04:49 -06:00
parent 26935cbfb0
commit 09f1a8d55b
12 changed files with 157 additions and 0 deletions

View file

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