From f3ab9ef65d948469e864184bcf95114bf8025ad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= start_link/4
. 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 ranch:start_listener/6
. This callback must
+the call to ranch:start_listener/5
. This callback must
return {ok, Pid}
, with Pid
the pid of the new process.
The newly started process can then freely initialize itself. However,
it must call ranch:accept_ack/1
before doing any socket operation.
--
cgit v1.2.3