diff options
author | Loïc Hoguin <[email protected]> | 2017-06-09 11:44:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-06-09 11:44:12 +0200 |
commit | f3ab9ef65d948469e864184bcf95114bf8025ad1 (patch) | |
tree | 77458e2ece4e95d5e16ae7466ef22750c0edc9ac /docs/en/ranch/1.3/guide/protocols.asciidoc | |
parent | 5a0feb20ace7a923b1101c274ef2ff12fa47a776 (diff) | |
download | ninenines.eu-f3ab9ef65d948469e864184bcf95114bf8025ad1.tar.gz ninenines.eu-f3ab9ef65d948469e864184bcf95114bf8025ad1.tar.bz2 ninenines.eu-f3ab9ef65d948469e864184bcf95114bf8025ad1.zip |
Release the tale of 2.0 cowboy slides
Diffstat (limited to 'docs/en/ranch/1.3/guide/protocols.asciidoc')
-rw-r--r-- | docs/en/ranch/1.3/guide/protocols.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/en/ranch/1.3/guide/protocols.asciidoc b/docs/en/ranch/1.3/guide/protocols.asciidoc index 48c74ef5..b9a31f27 100644 --- a/docs/en/ranch/1.3/guide/protocols.asciidoc +++ b/docs/en/ranch/1.3/guide/protocols.asciidoc @@ -10,7 +10,7 @@ which defines a single callback, `start_link/4`. This callback is responsible for spawning a new process for handling the connection. It receives four arguments: the name of the listener, the socket, the transport handler being used and the protocol options defined in -the call to `ranch:start_listener/6`. This callback must +the call to `ranch:start_listener/5`. This callback must return `{ok, Pid}`, with `Pid` the pid of the new process. The newly started process can then freely initialize itself. However, |