I was able to get this up and running but I cannot find a way to get which alpn protocol was decided (lets say server supports both http2 and http1.1 on alpn). Underlying ServerSession of rustls supports this but it is private trough TlsStream or acceptor. What is the correct way to access it?
I was able to get this up and running but I cannot find a way to get which alpn protocol was decided (lets say server supports both http2 and http1.1 on alpn). Underlying ServerSession of rustls supports this but it is private trough
TlsStream
or acceptor. What is the correct way to access it?