blob: 5aae89827b7c5553de0d5ec64e7a5cd5f3b5f5eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
%% Feel free to use, reuse and abuse the code in this file.
-module(http_init_shutdown).
-export([init/2]).
init(Req, _) ->
Req2 = cowboy_req:reply(<<"666 Init Shutdown Testing">>,
[{<<"connection">>, <<"close">>}], Req),
{shutdown, Req2, undefined}.
|