Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMaxRequestBodySize

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) 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().

Applies to

This method applies to the following types: