5 writes to Type
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http3\Frames\Http3RawFrame.Data.cs (1)
11Type = Http3FrameType.Data;
Internal\Http3\Frames\Http3RawFrame.GoAway.cs (1)
11Type = Http3FrameType.GoAway;
Internal\Http3\Frames\Http3RawFrame.Headers.cs (1)
11Type = Http3FrameType.Headers;
Internal\Http3\Frames\Http3RawFrame.Settings.cs (1)
11Type = Http3FrameType.Settings;
Internal\Http3\Http3FrameReader.cs (1)
45frame.Type = (Http3FrameType)type;
26 references to Type
InMemory.FunctionalTests (8)
Http3\Http3ConnectionTests.cs (1)
103Assert.Equal(Http3FrameType.Headers, frame.Type);
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (7)
164while (frame.Type != Http3FrameType.GoAway) 189AssertFrameType(frame.Type, Http3FrameType.GoAway); 739Http3InMemory.AssertFrameType(http3WithPayload.Type, Http3FrameType.Headers); 756Http3InMemory.AssertFrameType(http3WithPayload.Type, Http3FrameType.Headers); 841Http3InMemory.AssertFrameType(http3WithPayload.Type, Http3FrameType.Settings); 961while (frame.Type != Http3FrameType.GoAway) 975Http3InMemory.AssertFrameType(frame.Type, Http3FrameType.GoAway);
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http3\Frames\Http3RawFrame.cs (1)
16public string FormattedType => Http3Formatting.ToFormattedType(Type);
Internal\Http3\Http3ControlStream.cs (3)
333switch (incomingFrame.Type) 351return ProcessUnknownFrameAsync(incomingFrame.Type); 499throw new Http3ConnectionErrorException(CoreStrings.FormatHttp3ControlStreamFrameTooLarge(Http3Formatting.ToFormattedType(incomingFrame.Type)), Http3ErrorCode.FrameError, ConnectionEndReason.InvalidFrameLength);
Internal\Http3\Http3FrameWriter.cs (2)
112buffer[0] = (byte)_outgoingFrame.Type; 256var headerLength = WriteHeader(_outgoingFrame.Type, _outgoingFrame.RemainingLength, _outputWriter);
Internal\Http3\Http3Stream.cs (1)
776return incomingFrame.Type switch
Internal\Infrastructure\KestrelTrace.Http3.cs (2)
40Http3Log.Http3FrameReceived(_http3Logger, connectionId, Http3Formatting.ToFormattedType(frame.Type), streamId, frame.RemainingLength); 48Http3Log.Http3FrameSending(_http3Logger, connectionId, Http3Formatting.ToFormattedType(frame.Type), streamId, frame.RemainingLength);
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
Http3\Http3ConnectionBenchmarkBase.cs (2)
75switch (frame.Type) 82throw new InvalidOperationException($"Unexpected frame: {frame.Type}");
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (7)
164while (frame.Type != Http3FrameType.GoAway) 189AssertFrameType(frame.Type, Http3FrameType.GoAway); 739Http3InMemory.AssertFrameType(http3WithPayload.Type, Http3FrameType.Headers); 756Http3InMemory.AssertFrameType(http3WithPayload.Type, Http3FrameType.Headers); 841Http3InMemory.AssertFrameType(http3WithPayload.Type, Http3FrameType.Settings); 961while (frame.Type != Http3FrameType.GoAway) 975Http3InMemory.AssertFrameType(frame.Type, Http3FrameType.GoAway);