57 references to Http2FrameType
http2cat (57)
Program.cs (3)
40Trace.Assert(headersFrame.Type == Http2FrameType.HEADERS, headersFrame.Type.ToString()); 55Trace.Assert(dataFrame.Type == Http2FrameType.DATA); 64Trace.Assert(trailersFrame.Type == Http2FrameType.HEADERS);
src\Shared\Http2cat\Http2Utilities.cs (13)
158await ExpectAsync(Http2FrameType.SETTINGS, 163await ExpectAsync(Http2FrameType.WINDOW_UPDATE, 168await ExpectAsync(Http2FrameType.SETTINGS, 226Assert.Equal(Http2FrameType.HEADERS, frame.Type); 485frame.Type = Http2FrameType.PUSH_PROMISE; 820frame.Type = (Http2FrameType)frameType; 865internal async Task<Http2FrameWithPayload> ExpectAsync(Http2FrameType type, int withLength, byte withFlags, int withStreamId) 896Assert.Equal(Http2FrameType.HEADERS, headersFrame.Type); 909Assert.Equal(Http2FrameType.DATA, frame.Type); 917Assert.Equal(Http2FrameType.GOAWAY, frame.Type); 927Assert.Equal(Http2FrameType.RST_STREAM, frame.Type); 948while (frame.Type != Http2FrameType.GOAWAY) 961Assert.Equal(Http2FrameType.RST_STREAM, frame.Type);
src\Shared\ServerInfrastructure\Http2\Http2Frame.Continuation.cs (1)
26Type = Http2FrameType.CONTINUATION;
src\Shared\ServerInfrastructure\Http2\Http2Frame.cs (11)
21public Http2FrameType Type { get; set; } 31case Http2FrameType.CONTINUATION: 33case Http2FrameType.DATA: 35case Http2FrameType.HEADERS: 37case Http2FrameType.SETTINGS: 39case Http2FrameType.PING: 43case Http2FrameType.PUSH_PROMISE: 46case Http2FrameType.PRIORITY: 47case Http2FrameType.RST_STREAM: 48case Http2FrameType.GOAWAY: 49case Http2FrameType.WINDOW_UPDATE:
src\Shared\ServerInfrastructure\Http2\Http2Frame.Data.cs (1)
36Type = Http2FrameType.DATA;
src\Shared\ServerInfrastructure\Http2\Http2Frame.GoAway.cs (1)
24Type = Http2FrameType.GOAWAY;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Headers.cs (1)
48Type = Http2FrameType.HEADERS;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Ping.cs (1)
26Type = Http2FrameType.PING;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Priority.cs (1)
24Type = Http2FrameType.PRIORITY;
src\Shared\ServerInfrastructure\Http2\Http2Frame.RstStream.cs (1)
18Type = Http2FrameType.RST_STREAM;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Settings.cs (1)
27Type = Http2FrameType.SETTINGS;
src\Shared\ServerInfrastructure\Http2\Http2Frame.WindowUpdate.cs (1)
18Type = Http2FrameType.WINDOW_UPDATE;
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (21)
59frame.Type = (Http2FrameType)header[TypeOffset]; 97case Http2FrameType.DATA: // Variable 0 or 1 114case Http2FrameType.HEADERS: 146case Http2FrameType.GOAWAY: 158case Http2FrameType.PRIORITY: 168case Http2FrameType.RST_STREAM: 177case Http2FrameType.WINDOW_UPDATE: 181case Http2FrameType.PING: // Opaque payload 8 bytes long 182case Http2FrameType.SETTINGS: // Settings are general payload 183case Http2FrameType.CONTINUATION: // None 184case Http2FrameType.PUSH_PROMISE: // Not implemented frames are ignored at this phase 199case Http2FrameType.DATA: // Variable 0 or 1 201case Http2FrameType.HEADERS: 203case Http2FrameType.GOAWAY: 205case Http2FrameType.PRIORITY: 207case Http2FrameType.RST_STREAM: 209case Http2FrameType.WINDOW_UPDATE: 211case Http2FrameType.PING: // 8 bytes of opaque data 212case Http2FrameType.SETTINGS: // Settings are general payload 213case Http2FrameType.CONTINUATION: // None 214case Http2FrameType.PUSH_PROMISE: // Not implemented frames are ignored at this phase