forked from quic-go/quic-go
remove deprecated quic.VersionNumber and logging.VersionNumber (#4627)
This commit is contained in:
@@ -19,10 +19,6 @@ type StreamID = protocol.StreamID
|
||||
// A Version is a QUIC version number.
|
||||
type Version = protocol.Version
|
||||
|
||||
// A VersionNumber is a QUIC version number.
|
||||
// Deprecated: VersionNumber was renamed to Version.
|
||||
type VersionNumber = Version
|
||||
|
||||
const (
|
||||
// Version1 is RFC 9000
|
||||
Version1 = protocol.Version1
|
||||
|
||||
@@ -36,9 +36,6 @@ type (
|
||||
StreamNum = protocol.StreamNum
|
||||
// The StreamType is the type of the stream (unidirectional or bidirectional).
|
||||
StreamType = protocol.StreamType
|
||||
// The VersionNumber is the QUIC version.
|
||||
// Deprecated: use Version instead.
|
||||
VersionNumber = protocol.Version
|
||||
// The Version is the QUIC version.
|
||||
Version = protocol.Version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user