MCPcopy Create free account
hub / github.com/imroc/req / validStreamID

Function validStreamID

internal/http2/frame.go:700–702  ·  view source on GitHub ↗
(streamID uint32)

Source from the content-addressed store, hash-verified

698}
699
700func validStreamID(streamID uint32) bool {
701 return streamID != 0 && streamID&(1<<31) == 0
702}
703
704// writeData writes a DATA frame.
705//

Callers 6

startWriteDataPaddedMethod · 0.85
WriteHeadersMethod · 0.85
WritePriorityMethod · 0.85
WriteRSTStreamMethod · 0.85
WriteContinuationMethod · 0.85
WritePushPromiseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…