ConnectionState returns basic TLS details about the connection.
()
| 1683 | |
| 1684 | // ConnectionState returns basic TLS details about the connection. |
| 1685 | func (c *Conn) ConnectionState() ConnectionState { |
| 1686 | c.handshakeMutex.Lock() |
| 1687 | defer c.handshakeMutex.Unlock() |
| 1688 | return c.connectionStateLocked() |
| 1689 | } |
| 1690 | |
| 1691 | func (c *Conn) connectionStateLocked() ConnectionState { |
| 1692 | var state ConnectionState |
nothing calls this directly
no test coverage detected