Source File
header_field.go
Belonging Package
github.com/quic-go/qpack
package qpack// A HeaderField is a name-value pair. Both the name and value are// treated as opaque sequences of octets.type HeaderField struct {Name stringValue string}// IsPseudo reports whether the header field is an HTTP3 pseudo header.// That is, it reports whether it starts with a colon.// It is not otherwise guaranteed to be a valid pseudo header field,// though.func ( HeaderField) () bool {return len(.Name) != 0 && .Name[0] == ':'}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |