File: Internal\Http3\Frames\Http3RawFrame.cs
Web Access
Project: src\src\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj (Microsoft.AspNetCore.Server.Kestrel.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3;
 
namespace System.Net.Http;
 
#pragma warning disable CA1852 // Seal internal types
internal partial class Http3RawFrame
#pragma warning restore CA1852 // Seal internal types
{
    public long Length { get; set; }
 
    public Http3FrameType Type { get; internal set; }
 
    public string FormattedType => Http3Formatting.ToFormattedType(Type);
 
    public override string ToString()
    {
        return $"{FormattedType} Length: {Length}";
    }
}