YarpRoute.WithMaxRequestBodySize

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpRoute interface {
// ... omitted for brevity
WithMaxRequestBodySize(maxRequestBodySize float64) YarpRoute
}

Signature

methodWithMaxRequestBodySize
Set the MaxRequestBodySize for the destination
WithMaxRequestBodySize(maxRequestBodySize float64) YarpRoute
maxRequestBodySizefloat64
YarpRoute

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: