mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 04:37:36 +03:00
expose the QUIC version of a connection (#3620)
* Expose the QUIC version of a connection via connection state * Update interface.go Co-authored-by: Marten Seemann <martenseemann@gmail.com> * Finish rename * gofmt * Use public type for version number Co-authored-by: Marten Seemann <martenseemann@gmail.com>
This commit is contained in:
parent
7b211d6574
commit
f2d3cb8f43
2 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,7 @@ type Config struct {
|
|||
type ConnectionState struct {
|
||||
TLS handshake.ConnectionState
|
||||
SupportsDatagrams bool
|
||||
Version VersionNumber
|
||||
}
|
||||
|
||||
// A Listener for incoming QUIC connections
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue