43 references to Http3FrameType
System.Net.Http (43)
src\libraries\Common\src\System\Net\Http\aspnetcore\Http3\Frames\Http3Frame.cs (1)
41public static bool TryWriteFrameEnvelope(Http3FrameType frameType, long payloadLength, Span<byte> buffer, out int bytesWritten)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (16)
523buffer[1] = (byte)Http3FrameType.Settings; 726(Http3FrameType? frameType, long payloadLength) = await ReadFrameEnvelopeAsync().ConfigureAwait(false); 734if (frameType != Http3FrameType.Settings) 749case Http3FrameType.GoAway: 752case Http3FrameType.Settings: 755case Http3FrameType.Headers: // Servers should not send these frames to a control stream. 756case Http3FrameType.Data: 757case Http3FrameType.MaxPushId: 758case Http3FrameType.ReservedHttp2Priority: // These frames are explicitly reserved and must never be sent. 759case Http3FrameType.ReservedHttp2Ping: 760case Http3FrameType.ReservedHttp2WindowUpdate: 761case Http3FrameType.ReservedHttp2Continuation: 767case Http3FrameType.PushPromise: 768case Http3FrameType.CancelPush: 800async ValueTask<(Http3FrameType? frameType, long payloadLength)> ReadFrameEnvelopeAsync() 828return ((Http3FrameType)frameType, payloadLength);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (26)
397(Http3FrameType? frameType, long payloadLength) = await ReadFrameEnvelopeAsync(cancellationToken).ConfigureAwait(false); 399if (frameType != Http3FrameType.Headers) 522BufferFrameEnvelope(Http3FrameType.Data, remaining); 541BufferFrameEnvelope(Http3FrameType.Data, buffer.Length); 559Http3FrameType? frameType; 568case Http3FrameType.Headers: 579case Http3FrameType.Data: 721_sendBuffer.ActiveSpan[0] = (byte)Http3FrameType.Headers; 851private void BufferFrameEnvelope(Http3FrameType frameType, long payloadLength) 868private async ValueTask<(Http3FrameType? frameType, long payloadLength)> ReadFrameEnvelopeAsync(CancellationToken cancellationToken) 903switch ((Http3FrameType)frameType) 905case Http3FrameType.Headers: 906case Http3FrameType.Data: 907return ((Http3FrameType)frameType, payloadLength); 908case Http3FrameType.Settings: // These frames should only be received on a control stream, not a response stream. 909case Http3FrameType.GoAway: 910case Http3FrameType.MaxPushId: 911case Http3FrameType.ReservedHttp2Priority: // These frames are explicitly reserved and must never be sent. 912case Http3FrameType.ReservedHttp2Ping: 913case Http3FrameType.ReservedHttp2WindowUpdate: 914case Http3FrameType.ReservedHttp2Continuation: 916case Http3FrameType.PushPromise: 917case Http3FrameType.CancelPush: 1366Http3FrameType? frameType; 1375case Http3FrameType.Data: 1383case Http3FrameType.Headers: