diff --git a/quic/conn.go b/quic/conn.go index bf54409bf..1f1cfa6d0 100644 --- a/quic/conn.go +++ b/quic/conn.go @@ -186,6 +186,11 @@ func (c *Conn) RemoteAddr() netip.AddrPort { return c.peerAddr } +// ConnectionState returns basic TLS details about the connection. +func (c *Conn) ConnectionState() tls.ConnectionState { + return c.tls.ConnectionState() +} + // confirmHandshake is called when the handshake is confirmed. // https://www.rfc-editor.org/rfc/rfc9001#section-4.1.2 func (c *Conn) confirmHandshake(now time.Time) {