forked from quic-go/quic-go
http3: export the Capsule-Protocol header value (#4690)
This commit is contained in:
@@ -6,9 +6,12 @@ import (
|
||||
"github.com/quic-go/quic-go/quicvarint"
|
||||
)
|
||||
|
||||
// CapsuleType is the type of the capsule.
|
||||
// CapsuleType is the type of the capsule
|
||||
type CapsuleType uint64
|
||||
|
||||
// CapsuleProtocolHeader is the header value used to advertise support for the capsule protocol
|
||||
const CapsuleProtocolHeader = "Capsule-Protocol"
|
||||
|
||||
type exactReader struct {
|
||||
R io.LimitedReader
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user