diff options
author | Loïc Hoguin <[email protected]> | 2012-10-11 20:52:29 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-10-11 20:52:29 +0200 |
commit | 160063497cade2c5334cc06859a43afec7183e78 (patch) | |
tree | 4b96d429b6f18aab2a1bc654588b8c3014c80708 /README.md | |
parent | 7b3d9943a9ead6624e639cb0229e608795cbc700 (diff) | |
download | cowboy-160063497cade2c5334cc06859a43afec7183e78.tar.gz cowboy-160063497cade2c5334cc06859a43afec7183e78.tar.bz2 cowboy-160063497cade2c5334cc06859a43afec7183e78.zip |
Start crypto also in the examples and documentation
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,7 +39,8 @@ Cowboy does nothing by default. Cowboy uses Ranch for handling connections, and provides convenience functions to start and stop Ranch listeners. The Ranch application -must always be started before Cowboy. +must always be started before Cowboy. The crypto application must +also be started. The `cowboy:start_http/4` function will handle HTTP connections using the TCP transport. Similarly, `cowboy:start_https/4` will @@ -57,6 +58,7 @@ HTTP listener. It redirects all requests to the `my_handler` module. ``` erlang +application:start(crypto), application:start(ranch), application:start(cowboy), Dispatch = [ |