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

Method String

frame.go:10–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8type FrameType int8
9
10func (ft FrameType) String() string {
11 switch ft {
12 case FrameData:
13 return "FrameData"
14 case FrameHeaders:
15 return "FrameHeaders"
16 case FramePriority:
17 return "FramePriority"
18 case FrameResetStream:
19 return "FrameResetStream"
20 case FrameSettings:
21 return "FrameSettings"
22 case FramePushPromise:
23 return "FramePushPromise"
24 case FramePing:
25 return "FramePing"
26 case FrameGoAway:
27 return "FrameGoAway"
28 case FrameWindowUpdate:
29 return "FrameWindowUpdate"
30 case FrameContinuation:
31 return "FrameContinuation"
32 }
33
34 return strconv.Itoa(int(ft))
35}
36
37type FrameFlags int8
38

Callers 5

AssertEqualFunction · 0.45
launchLocalServerFunction · 0.45
debugFrameFunction · 0.45
main.goFile · 0.45
main.goFile · 0.45

Calls

no outgoing calls

Tested by 1

launchLocalServerFunction · 0.36