MCPcopy Create free account
hub / github.com/dgrr/http2 / NewGoAwayError

Function NewGoAwayError

errors.go:98–104  ·  view source on GitHub ↗
(e ErrorCode, debug string)

Source from the content-addressed store, hash-verified

96}
97
98func NewGoAwayError(e ErrorCode, debug string) Error {
99 return Error{
100 code: e,
101 debug: debug,
102 frameType: FrameGoAway,
103 }
104}
105
106func NewResetStreamError(e ErrorCode, debug string) Error {
107 return Error{

Callers 9

DeserializeMethod · 0.85
checkFrameWithStreamMethod · 0.85
handleStreamsMethod · 0.85
handleFrameMethod · 0.85
handleHeaderFrameMethod · 0.85
verifyStateMethod · 0.85
ReadMethod · 0.85
DeserializeMethod · 0.85
errors.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected