RequestTransform.RemoveHeader(RequestTransformContext, String) Method
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.
Removes the given header from the HttpRequestMessage or HttpContent where applicable.
public static void RemoveHeader(Yarp.ReverseProxy.Transforms.RequestTransformContext context, string headerName);
static member RemoveHeader : Yarp.ReverseProxy.Transforms.RequestTransformContext * string -> unit
Public Shared Sub RemoveHeader (context As RequestTransformContext, headerName As String)
Parameters
- context
- RequestTransformContext
- headerName
- String