summaryrefslogtreecommitdiffstats
path: root/docs/en/ranch/2.0/guide/protocols.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-10-16 09:48:31 +0200
committerLoïc Hoguin <[email protected]>2019-10-16 09:48:31 +0200
commit8459bebceb9533948193774371cbd9fd571b78ea (patch)
treedd8e5eb8aa21e68b47f2526a3db9a276ea0d4327 /docs/en/ranch/2.0/guide/protocols.asciidoc
parent31cedd105e5f6ecfbfcb925d4703cdf7b5ae114f (diff)
downloadninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.tar.gz
ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.tar.bz2
ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.zip
Cowboy 2.7.0
Diffstat (limited to 'docs/en/ranch/2.0/guide/protocols.asciidoc')
-rw-r--r--docs/en/ranch/2.0/guide/protocols.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/en/ranch/2.0/guide/protocols.asciidoc b/docs/en/ranch/2.0/guide/protocols.asciidoc
index 89360ef3..b455143e 100644
--- a/docs/en/ranch/2.0/guide/protocols.asciidoc
+++ b/docs/en/ranch/2.0/guide/protocols.asciidoc
@@ -6,7 +6,7 @@ protocol logic executed in this process.
=== Writing a protocol handler
All protocol handlers must implement the `ranch_protocol` behavior
-which defines a single callback, `start_link/4`. This callback is
+which defines a single callback, `start_link/3`. 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