aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-01-23 07:42:35 +0100
committerLoïc Hoguin <[email protected]>2012-01-23 07:42:35 +0100
commit7482c0de754337cab03dae6a91cb2a59a15a3012 (patch)
treec15e5fbca5715644c8f116d9323172f7e29f1823 /README.md
parentb650ef8907355bc0223c2e7412e36c1a07cb0173 (diff)
downloadcowboy-7482c0de754337cab03dae6a91cb2a59a15a3012.tar.gz
cowboy-7482c0de754337cab03dae6a91cb2a59a15a3012.tar.bz2
cowboy-7482c0de754337cab03dae6a91cb2a59a15a3012.zip
Improve the listener name in the README
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index ce769ba..d5950b9 100644
--- a/README.md
+++ b/README.md
@@ -79,7 +79,7 @@ Dispatch = [
{'_', [{'_', my_handler, []}]}
],
%% Name, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts
-cowboy:start_listener(http, 100,
+cowboy:start_listener(my_http_listener, 100,
cowboy_tcp_transport, [{port, 8080}],
cowboy_http_protocol, [{dispatch, Dispatch}]
).