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