Send close_notify alert
(&mut self)
| 346 | |
| 347 | /// Send close_notify alert |
| 348 | pub fn send_close_notify(&mut self) { |
| 349 | match self { |
| 350 | TlsConnection::Client(conn) => conn.send_close_notify(), |
| 351 | TlsConnection::Server(conn) => conn.send_close_notify(), |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | /// Get negotiated ALPN protocol |
| 356 | pub fn alpn_protocol(&self) -> Option<&[u8]> { |
no outgoing calls
no test coverage detected