mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Improve the listener name in the README
This commit is contained in:
parent
b650ef8907
commit
7482c0de75
1 changed files with 1 additions and 1 deletions
|
@ -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}]
|
||||
).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue