0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 04:10:24 +00:00

Document stopping the listener in App:stop/1

This commit is contained in:
Loïc Hoguin 2019-10-03 10:09:35 +02:00
parent e4a535cfa6
commit 99df823cc3
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
16 changed files with 29 additions and 16 deletions

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
chunked_hello_world_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -23,4 +23,4 @@ start(_Type, _Args) ->
compress_response_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
cookie_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
echo_get_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
echo_post_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -23,4 +23,4 @@ start(_Type, _Args) ->
eventsource_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -26,4 +26,4 @@ start(_Type, _Args) ->
file_server_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
hello_world_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -23,4 +23,4 @@ start(_Type, _Args) ->
markdown_middleware_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
rest_basic_auth_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
rest_hello_world_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
rest_pastebin_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -26,4 +26,4 @@ start(_Type, _Args) ->
ssl_hello_world_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(https).

View file

@ -22,4 +22,4 @@ start(_Type, _Args) ->
upload_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).

View file

@ -23,4 +23,4 @@ start(_Type, _Args) ->
websocket_sup:start_link().
stop(_State) ->
ok.
ok = cowboy:stop_listener(http).