Source File
priority.go
Belonging Package
github.com/imroc/req/v3/http2
package http2// PriorityParam are the stream prioritization parameters.type PriorityParam struct {// StreamDep is a 31-bit stream identifier for the// stream that this stream depends on. Zero means no// dependency.StreamDep uint32// Exclusive is whether the dependency is exclusive.Exclusive bool// Weight is the stream's zero-indexed weight. It should be// set together with StreamDep, or neither should be set. Per// the spec, "Add one to the value to obtain a weight between// 1 and 256."Weight uint8}func ( PriorityParam) () bool {return == PriorityParam{}}// PriorityFrame represents a http priority frame.type PriorityFrame struct {StreamID uint32PriorityParam PriorityParam}
![]() |
The pages are generated with Golds v0.8.7. (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. |