RequestHeadersTransformExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extensions for adding request header transforms.
public static class RequestHeadersTransformExtensions
type RequestHeadersTransformExtensions = class
Public Module RequestHeadersTransformExtensions
- Inheritance
-
RequestHeadersTransformExtensions
Methods
AddOriginalHost(TransformBuilderContext, Boolean) |
Adds the transform which will copy or remove the original host header. |
AddRequestHeader(TransformBuilderContext, String, String, Boolean) |
Adds the transform which will append or set the request header. |
AddRequestHeaderRemove(TransformBuilderContext, String) |
Adds the transform which will remove the request header. |
AddRequestHeaderRouteValue(TransformBuilderContext, String, String, Boolean) |
Adds the transform which will append or set the request header from a route value. |
AddRequestHeadersAllowed(TransformBuilderContext, String[]) |
Adds the transform which will only copy the allowed request headers. Other transforms that modify or append to existing headers may be affected if not included in the allow list. |
WithTransformCopyRequestHeaders(RouteConfig, Boolean) |
Clones the route and adds the transform which will enable or suppress copying request headers to the proxy request. |
WithTransformRequestHeader(RouteConfig, String, String, Boolean) |
Clones the route and adds the transform which will append or set the request header. |
WithTransformRequestHeaderRemove(RouteConfig, String) |
Clones the route and adds the transform which will remove the request header. |
WithTransformRequestHeaderRouteValue(RouteConfig, String, String, Boolean) |
Clones the route and adds the transform which will append or set the request header from a route value. |
WithTransformRequestHeadersAllowed(RouteConfig, String[]) |
Clones the route and adds the transform which will only copy the allowed request headers. Other transforms that modify or append to existing headers may be affected if not included in the allow list. |
WithTransformUseOriginalHostHeader(RouteConfig, Boolean) |
Clones the route and adds the transform which will copy the incoming request Host header to the proxy request. |