12 writes to Type
IIS.FunctionalTests (12)
src\Shared\Http2cat\Http2Utilities.cs (2)
492frame.Type = Http2FrameType.PUSH_PROMISE; 827frame.Type = (Http2FrameType)frameType;
src\Shared\ServerInfrastructure\Http2\Http2Frame.Continuation.cs (1)
26Type = Http2FrameType.CONTINUATION;
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 (1)
65frame.Type = (Http2FrameType)header[TypeOffset];
25 references to Type
IIS.FunctionalTests (25)
Http2TrailersResetTests.cs (3)
354Assert.True(headerOrResetFrame.Type == Http2FrameType.HEADERS || headerOrResetFrame.Type == Http2FrameType.RST_STREAM); 356if (headerOrResetFrame.Type == Http2FrameType.HEADERS)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Http2Tests.cs (8)
168Assert.Equal(Http2FrameType.WINDOW_UPDATE, windowUpdate.Type); 177Assert.Equal(Http2FrameType.DATA, dataFrame.Type); 185Assert.Equal(Http2FrameType.DATA, dataFrame.Type); 237Assert.Equal(Http2FrameType.WINDOW_UPDATE, windowUpdate.Type); 246Assert.Equal(Http2FrameType.DATA, dataFrame.Type); 254Assert.Equal(Http2FrameType.DATA, dataFrame.Type); 291Assert.Equal(Http2FrameType.DATA, dataFrame.Type); 299Assert.Equal(Http2FrameType.DATA, dataFrame.Type);
src\Shared\Http2cat\Http2Utilities.cs (9)
233Assert.Equal(Http2FrameType.HEADERS, frame.Type); 261buffer[0] = (byte)frame.Type; 876Assert.Equal(type, frame.Type); 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.cs (2)
35switch (Type) 63return $"{Type} Stream: {StreamId} Length: {PayloadLength} Flags: {ShowFlags()}";
src\Shared\ServerInfrastructure\Http2\Http2FrameReader.cs (3)
86SharedStrings.FormatHttp2ErrorUnexpectedFrameLength(frame.Type, expectedLength: extendedHeaderLength), Http2ErrorCode.FRAME_SIZE_ERROR, ConnectionEndReason.InvalidFrameLength); 92switch (frame.Type) 202switch (frame.Type)