Dela via


ResponseTransformContext Class

Definition

Transform state for use with ResponseTransform

public class ResponseTransformContext
type ResponseTransformContext = class
Public Class ResponseTransformContext
Inheritance
ResponseTransformContext

Constructors

ResponseTransformContext()

Properties

CancellationToken

A CancellationToken indicating that the request is being aborted.

HeadersCopied

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

HttpContext

The current request context.

ProxyResponse

The proxy response. This can be null if the destination did not respond.

SuppressResponseBody

Set to true if the proxy should exclude the body and trailing headers when proxying this response. Defaults to false.

Applies to