Class RequestHeaderRouteValueTransform
Inherited Members
Namespace: Yarp.ReverseProxy.Transforms
Assembly: Yarp.ReverseProxy.dll
Syntax
public class RequestHeaderRouteValueTransform : RequestHeaderTransform
Constructors
| Improve this Doc View SourceRequestHeaderRouteValueTransform(String, String, Boolean)
Declaration
public RequestHeaderRouteValueTransform(string headerName, string routeValueKey, bool append)
Parameters
Type | Name | Description |
---|---|---|
String | headerName | |
String | routeValueKey | |
Boolean | append |
Methods
| Improve this Doc View SourceGetValue(RequestTransformContext)
Declaration
protected override string? GetValue(RequestTransformContext context)
Parameters
Type | Name | Description |
---|---|---|
RequestTransformContext | context |
Returns
Type | Description |
---|---|
Nullable<String> |