From 160063497cade2c5334cc06859a43afec7183e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 11 Oct 2012 20:52:29 +0200 Subject: Start crypto also in the examples and documentation --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 246dc1b..e6556be 100644 --- a/README.md +++ b/README.md @@ -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 = [ -- cgit v1.2.3