YarpRouteExtensions.WithMaxRequestBodySize(YarpRoute, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the MaxRequestBodySize for the destination
public static Aspire.Hosting.Yarp.YarpRoute WithMaxRequestBodySize(this Aspire.Hosting.Yarp.YarpRoute route, long maxRequestBodySize);
static member WithMaxRequestBodySize : Aspire.Hosting.Yarp.YarpRoute * int64 -> Aspire.Hosting.Yarp.YarpRoute
<Extension()>
Public Function WithMaxRequestBodySize (route As YarpRoute, maxRequestBodySize As Long) As YarpRoute
Parameters
- route
- YarpRoute
- maxRequestBodySize
- Int64