diff options
author | Loïc Hoguin <[email protected]> | 2017-10-03 15:50:36 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-10-03 15:50:36 +0200 |
commit | 5cb08c35580023b91091c93f9a1f9198e35055c2 (patch) | |
tree | fcac3159b52e14db41d5f1d1b19f5d8530cc0d74 /docs/en/ranch/1.3/guide/protocols/index.html | |
parent | 35bc482f0be143abd728a228e937984dc5f6cc73 (diff) | |
download | ninenines.eu-5cb08c35580023b91091c93f9a1f9198e35055c2.tar.gz ninenines.eu-5cb08c35580023b91091c93f9a1f9198e35055c2.tar.bz2 ninenines.eu-5cb08c35580023b91091c93f9a1f9198e35055c2.zip |
Fix some links and add Ranch 1.4 docs
They were mistakenly labeled as 1.3. Sorry!
Diffstat (limited to 'docs/en/ranch/1.3/guide/protocols/index.html')
-rw-r--r-- | docs/en/ranch/1.3/guide/protocols/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/en/ranch/1.3/guide/protocols/index.html b/docs/en/ranch/1.3/guide/protocols/index.html index d42e9d7d..513602aa 100644 --- a/docs/en/ranch/1.3/guide/protocols/index.html +++ b/docs/en/ranch/1.3/guide/protocols/index.html @@ -77,7 +77,7 @@ which defines a single callback, <code>start_link/4</code>. 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 <code>ranch:start_listener/5</code>. This callback must +the call to <code>ranch:start_listener/6</code>. This callback must return <code>{ok, Pid}</code>, with <code>Pid</code> the pid of the new process.</p></div> <div class="paragraph"><p>The newly started process can then freely initialize itself. However, it must call <code>ranch:accept_ack/1</code> before doing any socket operation. @@ -221,6 +221,8 @@ http://www.gnu.org/software/src-highlite --> + <li><a href="/docs/en/ranch/1.4/guide">1.4</a></li> + <li><a href="/docs/en/ranch/1.3/guide">1.3</a></li> <li><a href="/docs/en/ranch/1.2/guide">1.2</a></li> |