https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.server.kestrel.core.http2limits.maxframesize?view=aspnetcore-10.0
Http2Limits.MaxFrameSize Property (Microsoft.AspNetCore.Server.Kestrel.Core) | Microsoft Learn
Indicates the size of the largest frame payload that is allowed to be received, in octets. The size must be between 2^14 and 2^24-1. Value must be between 2^14...
propertymicrosoftaspnetcoreserverkestrel