NetConn returns the underlying connection that is wrapped by c. Note that writing to or reading from this connection directly will corrupt the WebSocket connection.
()
| 1193 | // Note that writing to or reading from this connection directly will corrupt the |
| 1194 | // WebSocket connection. |
| 1195 | func (c *Conn) NetConn() net.Conn { |
| 1196 | return c.conn |
| 1197 | } |
| 1198 | |
| 1199 | // UnderlyingConn returns the internal net.Conn. This can be used to further |
| 1200 | // modifications to connection specific flags. |
no outgoing calls