diff --git a/interface.go b/interface.go index a9b8cdeb..a2fdf1ae 100644 --- a/interface.go +++ b/interface.go @@ -6,10 +6,9 @@ import ( "net" "time" - "github.com/lucas-clemente/quic-go/logging" - "github.com/lucas-clemente/quic-go/internal/handshake" "github.com/lucas-clemente/quic-go/internal/protocol" + "github.com/lucas-clemente/quic-go/logging" "github.com/lucas-clemente/quic-go/quictrace" ) @@ -29,6 +28,13 @@ type StreamID = protocol.StreamID // A VersionNumber is a QUIC version number. type VersionNumber = protocol.VersionNumber +const ( + // VersionDraft29 is IETF QUIC draft-29 + VersionDraft29 = protocol.VersionDraft29 + // VersionDraft32 is IETF QUIC draft-32 + VersionDraft32 = protocol.VersionDraft32 +) + // A Token can be used to verify the ownership of the client address. type Token struct { // IsRetryToken encodes how the client received the token. There are two ways: