<div dir="ltr">Hello,<div>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.</div><div><br></div><div>I therefore need to retrieve the Socket from a Connection Reference, so I can send chunked data into it.</div><div><br></div><div>Does anyone know what is the cleanest way to retrieve the underlying socket from a Connection Reference?</div><div><br></div><div>Best,</div><div>r.</div><div><br></div><div><br></div></div>