Skip to content

Commit

Permalink
export versions for the http3 test client and server
Browse files Browse the repository at this point in the history
  • Loading branch information
paaguti committed Dec 26, 2019
1 parent da3b78a commit 33f74f9
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,21 @@ type StreamID = protocol.StreamID
// A VersionNumber is a QUIC version number.
type VersionNumber = protocol.VersionNumber

// VersionGQUIC39 is gQUIC version 39.
const VersionGQUIC39 = protocol.Version39
const (
// VersionGQUIC39 is gQUIC version 39.
VersionGQUIC39 = protocol.Version39

// VersionTLS from internal/protocol
VersionTLS = protocol.VersionTLS
)

// Need this for the client/server

var SupportedVersions = []VersionNumber{
protocol.Version43,
protocol.Version42,
protocol.Version39,
}

// A Cookie can be used to verify the ownership of the client address.
type Cookie = handshake.Cookie
Expand Down

0 comments on commit 33f74f9

Please sign in to comment.