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)
165await ExpectAsync(Http2FrameType.SETTINGS, 170await ExpectAsync(Http2FrameType.WINDOW_UPDATE, 175await ExpectAsync(Http2FrameType.SETTINGS, 233Assert.Equal(Http2FrameType.HEADERS, frame.Type); 492frame.Type = Http2FrameType.PUSH_PROMISE; 827frame.Type = (Http2FrameType)frameType; 872internal async Task<Http2FrameWithPayload> ExpectAsync(Http2FrameType type, int withLength, byte withFlags, int withStreamId) 903Assert.Equal(Http2FrameType.HEADERS, headersFrame.Type); 916Assert.Equal(Http2FrameType.DATA, frame.Type); 924Assert.Equal(Http2FrameType.GOAWAY, frame.Type); 934Assert.Equal(Http2FrameType.RST_STREAM, frame.Type); 955while (frame.Type != Http2FrameType.GOAWAY) 968Assert.Equal(Http2FrameType.RST_STREAM, frame.Type);
src\Shared\ServerInfrastructure\Http2\Http2Frame.Continuation.cs (1)
26Type = Http2FrameType.CONTINUATION;
src\Shared\ServerInfrastructure\Http2\Http2Frame.cs (11)
27public Http2FrameType Type { get; set; } 37case Http2FrameType.CONTINUATION: 39case Http2FrameType.DATA: 41case Http2FrameType.HEADERS: 43case Http2FrameType.SETTINGS: 45case Http2FrameType.PING: 49case Http2FrameType.PUSH_PROMISE: 52case Http2FrameType.PRIORITY: 53case Http2FrameType.RST_STREAM: 54case Http2FrameType.GOAWAY: 55case 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)
65frame.Type = (Http2FrameType)header[TypeOffset]; 103case Http2FrameType.DATA: // Variable 0 or 1 120case Http2FrameType.HEADERS: 152case Http2FrameType.GOAWAY: 164case Http2FrameType.PRIORITY: 174case Http2FrameType.RST_STREAM: 183case Http2FrameType.WINDOW_UPDATE: 187case Http2FrameType.PING: // Opaque payload 8 bytes long 188case Http2FrameType.SETTINGS: // Settings are general payload 189case Http2FrameType.CONTINUATION: // None 190case Http2FrameType.PUSH_PROMISE: // Not implemented frames are ignored at this phase 205case Http2FrameType.DATA: // Variable 0 or 1 207case Http2FrameType.HEADERS: 209case Http2FrameType.GOAWAY: 211case Http2FrameType.PRIORITY: 213case Http2FrameType.RST_STREAM: 215case Http2FrameType.WINDOW_UPDATE: 217case Http2FrameType.PING: // 8 bytes of opaque data 218case Http2FrameType.SETTINGS: // Settings are general payload 219case Http2FrameType.CONTINUATION: // None 220case Http2FrameType.PUSH_PROMISE: // Not implemented frames are ignored at this phase