From 7482c0de754337cab03dae6a91cb2a59a15a3012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 23 Jan 2012 07:42:35 +0100 Subject: Improve the listener name in the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') 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}] ). -- cgit v1.2.3