Class ResponseTrailersTransformContext
Transform state for use with ResponseTrailersTransform
Inheritance
System.Object
ResponseTrailersTransformContext
Namespace: Yarp.ReverseProxy.Transforms
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ResponseTrailersTransformContext : object
Properties
| Improve this Doc View SourceCancellationToken
A CancellationToken indicating that the request is being aborted.
Declaration
public CancellationToken CancellationToken { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
public bool HeadersCopied { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HttpContext
The current request context.
Declaration
public HttpContext HttpContext { get; set; }
Property Value
Type | Description |
---|---|
HttpContext |
ProxyResponse
The incoming proxy response.
Declaration
public HttpResponseMessage ProxyResponse { get; set; }
Property Value
Type | Description |
---|---|
HttpResponseMessage |