package http2
Import Path
github.com/imroc/req/v3/http2 (on go.dev)
Dependency Relation
imports one package, and imported by 3 packages
Package-Level Type Names (total 4)
PriorityFrame represents a http priority frame.
PriorityParam PriorityParam
StreamID uint32
func github.com/imroc/req/v3.SetHTTP2PriorityFrames(frames ...PriorityFrame) *req.Client
func github.com/imroc/req/v3.(*Client).SetHTTP2PriorityFrames(frames ...PriorityFrame) *req.Client
func github.com/imroc/req/v3.(*Transport).SetHTTP2PriorityFrames(frames ...PriorityFrame) *req.Transport
PriorityParam are the stream prioritization parameters.
Exclusive is whether the dependency is exclusive.
StreamDep is a 31-bit stream identifier for the
stream that this stream depends on. Zero means no
dependency.
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."
( PriorityParam) IsZero() bool
PriorityParam : go.yaml.in/yaml/v3.IsZeroer
PriorityParam : gopkg.in/yaml.v3.IsZeroer
func github.com/imroc/req/v3.SetHTTP2HeaderPriority(priority PriorityParam) *req.Client
func github.com/imroc/req/v3.(*Client).SetHTTP2HeaderPriority(priority PriorityParam) *req.Client
func github.com/imroc/req/v3.(*Transport).SetHTTP2HeaderPriority(priority PriorityParam) *req.Transport
func github.com/imroc/req/v3/internal/http2.(*Framer).WritePriority(streamID uint32, p PriorityParam) error
Setting is a setting parameter: which setting it is, and its value.
ID is which setting is being set.
See https://httpwg.org/specs/rfc7540.html#SettingValues
Val is the value.
( Setting) String() string
Setting : github.com/pancsta/asyncmachine-go/internal/nofmt.Stringer
Setting : github.com/pandatix/go-abnf.ElemItf
Setting : expvar.Var
Setting : fmt.Stringer
func github.com/imroc/req/v3/internal/http2.(*SettingsFrame).Setting(i int) Setting
func github.com/imroc/req/v3.SetHTTP2SettingsFrame(settings ...Setting) *req.Client
func github.com/imroc/req/v3.(*Client).SetHTTP2SettingsFrame(settings ...Setting) *req.Client
func github.com/imroc/req/v3.(*Transport).SetHTTP2SettingsFrame(settings ...Setting) *req.Transport
func github.com/imroc/req/v3/internal/http2.(*Framer).WriteSettings(settings ...Setting) error
A SettingID is an HTTP/2 setting as defined in
https://httpwg.org/specs/rfc7540.html#iana-settings
( SettingID) String() string
SettingID : github.com/pancsta/asyncmachine-go/internal/nofmt.Stringer
SettingID : github.com/pandatix/go-abnf.ElemItf
SettingID : expvar.Var
SettingID : fmt.Stringer
func github.com/imroc/req/v3/internal/http2.(*SettingsFrame).Value(id SettingID) (v uint32, ok bool)
const SettingEnablePush
const SettingHeaderTableSize
const SettingInitialWindowSize
const SettingMaxConcurrentStreams
const SettingMaxFrameSize
const SettingMaxHeaderListSize
Package-Level Constants (total 6)
const SettingEnablePush SettingID = 2 const SettingHeaderTableSize SettingID = 1 const SettingInitialWindowSize SettingID = 4 const SettingMaxConcurrentStreams SettingID = 3 const SettingMaxFrameSize SettingID = 5 const SettingMaxHeaderListSize SettingID = 6
![]() |
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. |