diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/chunked_hello_world/src/chunked_hello_world_app.erl | 2 | ||||
-rw-r--r-- | examples/compress_response/src/compress_response_app.erl | 2 | ||||
-rw-r--r-- | examples/cookie/src/cookie_app.erl | 2 | ||||
-rw-r--r-- | examples/echo_get/src/echo_get_app.erl | 2 | ||||
-rw-r--r-- | examples/echo_post/src/echo_post_app.erl | 2 | ||||
-rw-r--r-- | examples/eventsource/src/eventsource_app.erl | 2 | ||||
-rw-r--r-- | examples/file_server/src/file_server_app.erl | 2 | ||||
-rw-r--r-- | examples/hello_world/src/hello_world_app.erl | 2 | ||||
-rw-r--r-- | examples/markdown_middleware/src/markdown_middleware_app.erl | 2 | ||||
-rw-r--r-- | examples/rest_basic_auth/src/rest_basic_auth_app.erl | 2 | ||||
-rw-r--r-- | examples/rest_hello_world/src/rest_hello_world_app.erl | 2 | ||||
-rw-r--r-- | examples/rest_pastebin/src/rest_pastebin_app.erl | 2 | ||||
-rw-r--r-- | examples/ssl_hello_world/src/ssl_hello_world_app.erl | 2 | ||||
-rw-r--r-- | examples/upload/src/upload_app.erl | 2 | ||||
-rw-r--r-- | examples/websocket/src/websocket_app.erl | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/examples/chunked_hello_world/src/chunked_hello_world_app.erl b/examples/chunked_hello_world/src/chunked_hello_world_app.erl index 9c6eb1d..70d63f5 100644 --- a/examples/chunked_hello_world/src/chunked_hello_world_app.erl +++ b/examples/chunked_hello_world/src/chunked_hello_world_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> chunked_hello_world_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/compress_response/src/compress_response_app.erl b/examples/compress_response/src/compress_response_app.erl index b5cba52..b35fd6f 100644 --- a/examples/compress_response/src/compress_response_app.erl +++ b/examples/compress_response/src/compress_response_app.erl @@ -23,4 +23,4 @@ start(_Type, _Args) -> compress_response_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/cookie/src/cookie_app.erl b/examples/cookie/src/cookie_app.erl index da086e2..358d882 100644 --- a/examples/cookie/src/cookie_app.erl +++ b/examples/cookie/src/cookie_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> cookie_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/echo_get/src/echo_get_app.erl b/examples/echo_get/src/echo_get_app.erl index c2fd0df..5b15fb3 100644 --- a/examples/echo_get/src/echo_get_app.erl +++ b/examples/echo_get/src/echo_get_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> echo_get_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/echo_post/src/echo_post_app.erl b/examples/echo_post/src/echo_post_app.erl index b454740..4a057bb 100644 --- a/examples/echo_post/src/echo_post_app.erl +++ b/examples/echo_post/src/echo_post_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> echo_post_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/eventsource/src/eventsource_app.erl b/examples/eventsource/src/eventsource_app.erl index 932306e..825f434 100644 --- a/examples/eventsource/src/eventsource_app.erl +++ b/examples/eventsource/src/eventsource_app.erl @@ -23,4 +23,4 @@ start(_Type, _Args) -> eventsource_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/file_server/src/file_server_app.erl b/examples/file_server/src/file_server_app.erl index 89d5af0..17e73b2 100644 --- a/examples/file_server/src/file_server_app.erl +++ b/examples/file_server/src/file_server_app.erl @@ -26,4 +26,4 @@ start(_Type, _Args) -> file_server_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/hello_world/src/hello_world_app.erl b/examples/hello_world/src/hello_world_app.erl index 5922948..daa7d19 100644 --- a/examples/hello_world/src/hello_world_app.erl +++ b/examples/hello_world/src/hello_world_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> hello_world_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/markdown_middleware/src/markdown_middleware_app.erl b/examples/markdown_middleware/src/markdown_middleware_app.erl index 819fd53..75b3bc7 100644 --- a/examples/markdown_middleware/src/markdown_middleware_app.erl +++ b/examples/markdown_middleware/src/markdown_middleware_app.erl @@ -23,4 +23,4 @@ start(_Type, _Args) -> markdown_middleware_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/rest_basic_auth/src/rest_basic_auth_app.erl b/examples/rest_basic_auth/src/rest_basic_auth_app.erl index d595706..f95dc36 100644 --- a/examples/rest_basic_auth/src/rest_basic_auth_app.erl +++ b/examples/rest_basic_auth/src/rest_basic_auth_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> rest_basic_auth_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/rest_hello_world/src/rest_hello_world_app.erl b/examples/rest_hello_world/src/rest_hello_world_app.erl index 85bd9b5..40dd890 100644 --- a/examples/rest_hello_world/src/rest_hello_world_app.erl +++ b/examples/rest_hello_world/src/rest_hello_world_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> rest_hello_world_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/rest_pastebin/src/rest_pastebin_app.erl b/examples/rest_pastebin/src/rest_pastebin_app.erl index 0fbfd64..a5e7ebc 100644 --- a/examples/rest_pastebin/src/rest_pastebin_app.erl +++ b/examples/rest_pastebin/src/rest_pastebin_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> rest_pastebin_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/ssl_hello_world/src/ssl_hello_world_app.erl b/examples/ssl_hello_world/src/ssl_hello_world_app.erl index 4a9122f..959dc77 100644 --- a/examples/ssl_hello_world/src/ssl_hello_world_app.erl +++ b/examples/ssl_hello_world/src/ssl_hello_world_app.erl @@ -26,4 +26,4 @@ start(_Type, _Args) -> ssl_hello_world_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(https). diff --git a/examples/upload/src/upload_app.erl b/examples/upload/src/upload_app.erl index 2ed5804..6fb829f 100644 --- a/examples/upload/src/upload_app.erl +++ b/examples/upload/src/upload_app.erl @@ -22,4 +22,4 @@ start(_Type, _Args) -> upload_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). diff --git a/examples/websocket/src/websocket_app.erl b/examples/websocket/src/websocket_app.erl index 92c7edc..babb39e 100644 --- a/examples/websocket/src/websocket_app.erl +++ b/examples/websocket/src/websocket_app.erl @@ -23,4 +23,4 @@ start(_Type, _Args) -> websocket_sup:start_link(). stop(_State) -> - ok. + ok = cowboy:stop_listener(http). |