ForwardedTransformExtensions
Class static net10.0
Extensions for adding forwarded header transforms.
namespace Aspire.Hosting.Yarp.Transforms;
public static class ForwardedTransformExtensions{ // ...}Methods3
Section titled MethodsWithTransformClientCertHeader(YarpRoute, string)extension Adds the transform which will set the given header with the Base64 encoded client certificate.
WithTransformForwarded(YarpRoute, bool, bool, NodeFormat, NodeFormat, ForwardedTransformActions)extension Adds the transform which will add the Forwarded header as defined by [RFC 7239](https://tools.ietf.org/html/rfc7239).
WithTransformXForwarded(YarpRoute, string, ForwardedTransformActions, ForwardedTransformActions?, ForwardedTransformActions?, ForwardedTransformActions?, ForwardedTransformActions?)extension Adds the transform which will add X-Forwarded-* headers.