ForwardedTransformExtensions
Class static net8.0
Extensions for adding forwarded header transforms.
namespace Aspire.Hosting.Yarp.Transforms;
public static class ForwardedTransformExtensions{ // ...}Methods3
Section titled MethodsWithTransformClientCertHeader(YarpRoute, string)extensionats export Adds the transform which will set the given header with the Base64 encoded client certificate.
WithTransformForwarded(YarpRoute, bool, bool, NodeFormat, NodeFormat, ForwardedTransformActions)extensionats export 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?)extensionats export Adds the transform which will add X-Forwarded-* headers.