57 references to Http2FrameType
http2cat (57)
Program.cs (3)
40
Trace.Assert(headersFrame.Type ==
Http2FrameType
.HEADERS, headersFrame.Type.ToString());
55
Trace.Assert(dataFrame.Type ==
Http2FrameType
.DATA);
64
Trace.Assert(trailersFrame.Type ==
Http2FrameType
.HEADERS);
src\Shared\Http2cat\Http2Utilities.cs (13)
165
await ExpectAsync(
Http2FrameType
.SETTINGS,
170
await ExpectAsync(
Http2FrameType
.WINDOW_UPDATE,
175
await ExpectAsync(
Http2FrameType
.SETTINGS,
233
Assert.Equal(
Http2FrameType
.HEADERS, frame.Type);
492
frame.Type =
Http2FrameType
.PUSH_PROMISE;
827
frame.Type = (
Http2FrameType
)frameType;
872
internal async Task<Http2FrameWithPayload> ExpectAsync(
Http2FrameType
type, int withLength, byte withFlags, int withStreamId)
903
Assert.Equal(
Http2FrameType
.HEADERS, headersFrame.Type);
916
Assert.Equal(
Http2FrameType
.DATA, frame.Type);
924
Assert.Equal(
Http2FrameType
.GOAWAY, frame.Type);
934
Assert.Equal(
Http2FrameType
.RST_STREAM, frame.Type);
955
while (frame.Type !=
Http2FrameType
.GOAWAY)
968
Assert.Equal(
Http2FrameType
.RST_STREAM, frame.Type);
src\Shared\ServerInfrastructure\Http2\Http2Frame.Continuation.cs (1)
26
Type =
Http2FrameType
.CONTINUATION;
src\Shared\ServerInfrastructure\Http2\Http2Frame.cs (11)
27
public
Http2FrameType
Type { get; set; }
37
case
Http2FrameType
.CONTINUATION:
39
case
Http2FrameType
.DATA:
41
case
Http2FrameType
.HEADERS:
43
case
Http2FrameType
.SETTINGS:
45
case
Http2FrameType
.PING:
49
case
Http2FrameType
.PUSH_PROMISE:
52
case
Http2FrameType
.PRIORITY:
53
case
Http2FrameType
.RST_STREAM:
54
case
Http2FrameType
.GOAWAY:
55
case
Http2FrameType
.WINDOW_UPDATE:
src\Shared\ServerInfrastructure\Http2\Http2Frame.Data.cs (1)
36
Type =
Http2FrameType
.DATA;
src\Shared\ServerInfrastructure\Http2\Http2Frame.GoAway.cs (1)
24
Type =
Http2FrameType
.GOAWAY;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Headers.cs (1)
48
Type =
Http2FrameType
.HEADERS;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Ping.cs (1)
26
Type =
Http2FrameType
.PING;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Priority.cs (1)
24
Type =
Http2FrameType
.PRIORITY;
src\Shared\ServerInfrastructure\Http2\Http2Frame.RstStream.cs (1)
18
Type =
Http2FrameType
.RST_STREAM;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Settings.cs (1)
27
Type =
Http2FrameType
.SETTINGS;
src\Shared\ServerInfrastructure\Http2\Http2Frame.WindowUpdate.cs (1)
18
Type =
Http2FrameType
.WINDOW_UPDATE;
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (21)
65
frame.Type = (
Http2FrameType
)header[TypeOffset];
103
case
Http2FrameType
.DATA: // Variable 0 or 1
120
case
Http2FrameType
.HEADERS:
152
case
Http2FrameType
.GOAWAY:
164
case
Http2FrameType
.PRIORITY:
174
case
Http2FrameType
.RST_STREAM:
183
case
Http2FrameType
.WINDOW_UPDATE:
187
case
Http2FrameType
.PING: // Opaque payload 8 bytes long
188
case
Http2FrameType
.SETTINGS: // Settings are general payload
189
case
Http2FrameType
.CONTINUATION: // None
190
case
Http2FrameType
.PUSH_PROMISE: // Not implemented frames are ignored at this phase
205
case
Http2FrameType
.DATA: // Variable 0 or 1
207
case
Http2FrameType
.HEADERS:
209
case
Http2FrameType
.GOAWAY:
211
case
Http2FrameType
.PRIORITY:
213
case
Http2FrameType
.RST_STREAM:
215
case
Http2FrameType
.WINDOW_UPDATE:
217
case
Http2FrameType
.PING: // 8 bytes of opaque data
218
case
Http2FrameType
.SETTINGS: // Settings are general payload
219
case
Http2FrameType
.CONTINUATION: // None
220
case
Http2FrameType
.PUSH_PROMISE: // Not implemented frames are ignored at this phase