aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/ranch_protocol.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-05-09 10:43:25 +0200
committerLoïc Hoguin <[email protected]>2019-05-09 10:47:15 +0200
commit3ea575d8682560fc02d5583cbf2837e2f2f43e9f (patch)
treea20024277c5bad93fd05d9a32013ecabfeddd485 /doc/src/manual/ranch_protocol.asciidoc
parente92171a8f80755dad795691ad9e07807212d0d1c (diff)
downloadranch-3ea575d8682560fc02d5583cbf2837e2f2f43e9f.tar.gz
ranch-3ea575d8682560fc02d5583cbf2837e2f2f43e9f.tar.bz2
ranch-3ea575d8682560fc02d5583cbf2837e2f2f43e9f.zip
Remove Socket argument from ranch_protocol:start_link
Diffstat (limited to 'doc/src/manual/ranch_protocol.asciidoc')
-rw-r--r--doc/src/manual/ranch_protocol.asciidoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/manual/ranch_protocol.asciidoc b/doc/src/manual/ranch_protocol.asciidoc
index 8e8c0e0..5a94399 100644
--- a/doc/src/manual/ranch_protocol.asciidoc
+++ b/doc/src/manual/ranch_protocol.asciidoc
@@ -16,7 +16,6 @@ Ranch protocols implement the following interface:
[source,erlang]
----
start_link(Ref :: ranch:ref(),
- _,
Transport :: module(),
ProtoOpts :: any())
-> {ok, ConnPid :: pid()}
@@ -46,9 +45,10 @@ processes and degrade performance severely.
== Changelog
-* *1.6*: The second argument `Socket` was deprecated and will
- be removed in Ranch 2.0. The socket should be obtained
- by calling link:man:ranch:handshake(3)[ranch:handshake(3)].
+* *2.0*: The second argument `Socket` was removed.
+* *1.6*: The second argument `Socket` was deprecated. Call
+ link:man:ranch:handshake(3)[ranch:handshake(3)]
+ to obtain the socket.
== See also