diff options
author | juhlig <[email protected]> | 2019-09-17 17:55:25 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-14 12:38:29 +0200 |
commit | d44e7a16f7d2823cc658e39b5d953ba0850e47ba (patch) | |
tree | 72ddf6100e12fa7424067262ee31b1f99ce05fff /doc/src/guide/protocols.asciidoc | |
parent | 1db8290685e9cff3dfafde62de6148246075990a (diff) | |
download | ranch-d44e7a16f7d2823cc658e39b5d953ba0850e47ba.tar.gz ranch-d44e7a16f7d2823cc658e39b5d953ba0850e47ba.tar.bz2 ranch-d44e7a16f7d2823cc658e39b5d953ba0850e47ba.zip |
Enable multiple steps handshake
Also fix some Protocol:start_link/4 into start_link/3
left over in the documentation.
Diffstat (limited to 'doc/src/guide/protocols.asciidoc')
-rw-r--r-- | doc/src/guide/protocols.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/protocols.asciidoc b/doc/src/guide/protocols.asciidoc index 89360ef..b455143 100644 --- a/doc/src/guide/protocols.asciidoc +++ b/doc/src/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 |