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; 718(Http3FrameType? frameType, long payloadLength) = await ReadFrameEnvelopeAsync().ConfigureAwait(false); 726if (frameType != Http3FrameType.Settings) 741case Http3FrameType.GoAway: 744case Http3FrameType.Settings: 747case Http3FrameType.Headers: // Servers should not send these frames to a control stream. 748case Http3FrameType.Data: 749case Http3FrameType.MaxPushId: 750case Http3FrameType.ReservedHttp2Priority: // These frames are explicitly reserved and must never be sent. 751case Http3FrameType.ReservedHttp2Ping: 752case Http3FrameType.ReservedHttp2WindowUpdate: 753case Http3FrameType.ReservedHttp2Continuation: 759case Http3FrameType.PushPromise: 760case Http3FrameType.CancelPush: 792async ValueTask<(Http3FrameType? frameType, long payloadLength)> ReadFrameEnvelopeAsync() 820return ((Http3FrameType)frameType, payloadLength);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (26)
415(Http3FrameType? frameType, long payloadLength) = await ReadFrameEnvelopeAsync(cancellationToken).ConfigureAwait(false); 417if (frameType != Http3FrameType.Headers) 556BufferFrameEnvelope(Http3FrameType.Data, remaining); 575BufferFrameEnvelope(Http3FrameType.Data, buffer.Length); 593Http3FrameType? frameType; 602case Http3FrameType.Headers: 613case Http3FrameType.Data: 751_sendBuffer.ActiveSpan[0] = (byte)Http3FrameType.Headers; 881private void BufferFrameEnvelope(Http3FrameType frameType, long payloadLength) 898private async ValueTask<(Http3FrameType? frameType, long payloadLength)> ReadFrameEnvelopeAsync(CancellationToken cancellationToken) 933switch ((Http3FrameType)frameType) 935case Http3FrameType.Headers: 936case Http3FrameType.Data: 937return ((Http3FrameType)frameType, payloadLength); 938case Http3FrameType.Settings: // These frames should only be received on a control stream, not a response stream. 939case Http3FrameType.GoAway: 940case Http3FrameType.MaxPushId: 941case Http3FrameType.ReservedHttp2Priority: // These frames are explicitly reserved and must never be sent. 942case Http3FrameType.ReservedHttp2Ping: 943case Http3FrameType.ReservedHttp2WindowUpdate: 944case Http3FrameType.ReservedHttp2Continuation: 946case Http3FrameType.PushPromise: 947case Http3FrameType.CancelPush: 1396Http3FrameType? frameType; 1405case Http3FrameType.Data: 1413case Http3FrameType.Headers: