Subprotocol returns the negotiated protocol for the connection.
()
| 336 | |
| 337 | // Subprotocol returns the negotiated protocol for the connection. |
| 338 | func (c *Conn) Subprotocol() string { |
| 339 | return c.subprotocol |
| 340 | } |
| 341 | |
| 342 | // Close closes the underlying network connection without sending or waiting |
| 343 | // for a close message. |
no outgoing calls