Open
Description
Hi, as titled. We are trying to get the raw TCP connection to read the file descriptor.
netConn := websocket.NetConn(reqCtx.Context(), wsConn, websocket.MessageText)
We want to use this library in combination with https://github.com/smallnest/epoller
Activity
StarpTech commentedon Oct 20, 2024
Our workaround
mafredri commentedon Nov 14, 2024
Thanks for sharing your workaround @StarpTech! We'll think about the API but surely we can expose an easier way to grab the raw net.Conn.
Somewhat related: #331
StarpTech commentedon Nov 14, 2024
@mafredri thanks and that would be great!
comunidadio commentedon Mar 25, 2025
Thanks for sharing the workaround @StarpTech, needed the Conn for something else and this made the trick.
Did you manage to use epoller with the library in the end? I'm curious to learn if it works and roughly how it improve things.