Ankh.HTTP.accept
You're seeing just the function
accept
, go back to Ankh.HTTP module for more information.
Link to this function
accept(uri, socket, options \\ [])
Specs
accept(URI.t(), Ankh.Transport.socket(), Ankh.Transport.options()) :: {:ok, Ankh.Protocol.t()} | {:error, any()}
Accepts an HTTP connection
After accepting the connection, stream
will receive requests from the client and respond
can be used to send replies.