[erlang-questions] Hackney socket

Roberto Ostinelli roberto@REDACTED
Wed Dec 24 12:40:49 CET 2014


Hello,
I'm using hackney to send a HTTPS request. The server I'm connecting to
will keep the resulting TCP connection open, so that it then becomes a
two-way communication channel using HTTP chunk.

I therefore need to retrieve the Socket from a Connection Reference, so I
can send chunked data into it.

Does anyone know what is the cleanest way to retrieve the underlying socket
from a Connection Reference?

Best,
r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141224/e938c896/attachment.htm>


More information about the erlang-questions mailing list