Table of Contents

Class ResponseTrailersTransformContext

Namespace
Yarp.ReverseProxy.Transforms
Assembly
Yarp.ReverseProxy.dll

Transform state for use with ResponseTrailersTransform

public class ResponseTrailersTransformContext
Inheritance
ResponseTrailersTransformContext
Inherited Members

Constructors

ResponseTrailersTransformContext()

public ResponseTrailersTransformContext()

Properties

CancellationToken

A CancellationToken indicating that the request is being aborted.

public CancellationToken CancellationToken { get; set; }

Property Value

CancellationToken

HeadersCopied

Gets or sets if the response trailers have been copied from the HttpResponseMessage to the HttpResponse. Transforms use this when searching for the current value of a header they should operate on.

public bool HeadersCopied { get; set; }

Property Value

bool

HttpContext

The current request context.

public HttpContext HttpContext { get; init; }

Property Value

HttpContext

ProxyResponse

The incoming proxy response.

public HttpResponseMessage ProxyResponse { get; init; }

Property Value

HttpResponseMessage