ResponseTransform.SetHeader 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.
Sets the given header on the HttpResponse.
public static void SetHeader (Yarp.ReverseProxy.Transforms.ResponseTransformContext context, string headerName, Microsoft.Extensions.Primitives.StringValues values);
static member SetHeader : Yarp.ReverseProxy.Transforms.ResponseTransformContext * string * Microsoft.Extensions.Primitives.StringValues -> unit
Public Shared Sub SetHeader (context As ResponseTransformContext, headerName As String, values As StringValues)
Parameters
- context
- ResponseTransformContext
- headerName
- String
- values
- StringValues