ConnectionState returns basic TLS details about the connection.
()
| 1756 | |
| 1757 | // ConnectionState returns basic TLS details about the connection. |
| 1758 | func (c *Conn) ConnectionState() ConnectionState { |
| 1759 | c.handshakeMutex.Lock() |
| 1760 | defer c.handshakeMutex.Unlock() |
| 1761 | return c.connectionStateLocked() |
| 1762 | } |
| 1763 | |
| 1764 | func (c *Conn) connectionStateLocked() ConnectionState { |
| 1765 | var state ConnectionState |
nothing calls this directly
no test coverage detected