Sets or appends the X-Forwarded-Prefix header with the request's original PathBase.
Inheritance
System.Object
RequestHeaderXForwardedPrefixTransform
Assembly: Yarp.ReverseProxy.dll
public class RequestHeaderXForwardedPrefixTransform : RequestTransform
Constructors
|
Improve this Doc
View Source
Declaration
public RequestHeaderXForwardedPrefixTransform(string headerName, ForwardedTransformActions action)
Parameters
Methods
|
Improve this Doc
View Source
Transforms any of the available fields before building the outgoing request.
Declaration
public override ValueTask ApplyAsync(RequestTransformContext context)
Parameters
Returns
Type |
Description |
ValueTask |
|
Overrides