Closed
Description
Was going through some random reading and I noticed this is an issue that appeared multiple times on the gorilla/websocket tracker:
- Question: Any way to safely get a ReadWriteCloser compatible with x/net/websocket? gorilla/websocket#282 (comment)
- websocket.Conn is so close to net.Conn, but not quite gorilla/websocket#441
People using nhooyr/websocket also have ran into this: #80
With my solution in #87, this is relatively simple to implement.
I'm thinking websocket.NetConn(c *websocket.Conn) net.Conn