YarpRouteExtensions
Classstaticnet10.0
Provides extension methods for configuring a YARP destination
namespace Aspire.Hosting.Yarp;
public static class YarpRouteExtensions{ // ...}11 members
Methods11
Section titled Methods Set the parameters used to match requests.
Only match requests that contain all of these headers.
Only match requests with the given Host header. Supports wildcards and ports. For unicode host names, do not use punycode.
Only match requests that use these optional HTTP methods. E.g. GET, POST.
Only match requests with the given Path pattern.
Only match requests that contain all of these query parameters.
Set the MaxRequestBodySize for the destination
Set the Metadata of the destination
Add a new transform to the destination
Set the Transforms of the destination