diff options
author | Loïc Hoguin <[email protected]> | 2020-06-25 13:32:01 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-06-25 13:32:01 +0200 |
commit | e7feea1ec8a65311f9da998605031df77e5d26ea (patch) | |
tree | cda16ab7e1626f6d2d8819583cdc27e87247d292 /docs/en/ranch/2.0/guide/protocols.asciidoc | |
parent | 849fab7227a2fd1ff5fa4d603ba89037e1c462b4 (diff) | |
download | ninenines.eu-e7feea1ec8a65311f9da998605031df77e5d26ea.tar.gz ninenines.eu-e7feea1ec8a65311f9da998605031df77e5d26ea.tar.bz2 ninenines.eu-e7feea1ec8a65311f9da998605031df77e5d26ea.zip |
Ranch 2.0
Diffstat (limited to 'docs/en/ranch/2.0/guide/protocols.asciidoc')
-rw-r--r-- | docs/en/ranch/2.0/guide/protocols.asciidoc | 2 |
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 b455143e..73a0bf5f 100644 --- a/docs/en/ranch/2.0/guide/protocols.asciidoc +++ b/docs/en/ranch/2.0/guide/protocols.asciidoc @@ -8,7 +8,7 @@ protocol logic executed in this process. All protocol handlers must implement the `ranch_protocol` behavior 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 +It receives three arguments: the name of the listener, the transport handler being used and the protocol options defined in the call to `ranch:start_listener/5`. This callback must return `{ok, Pid}`, with `Pid` the pid of the new process. |