http3: export the Capsule-Protocol header value (#4690)

This commit is contained in:
Marten Seemann
2024-10-14 00:30:30 -05:00
committed by GitHub
parent 1db805ce4f
commit b4ae847386

View File

@@ -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
}