Dela via


ResponseFuncTransform Class

Definition

A response transform that runs the given Func.

public class ResponseFuncTransform : Yarp.ReverseProxy.Transforms.ResponseTransform
type ResponseFuncTransform = class
    inherit ResponseTransform
Public Class ResponseFuncTransform
Inherits ResponseTransform
Inheritance
ResponseFuncTransform

Constructors

ResponseFuncTransform(Func<ResponseTransformContext,ValueTask>)

Methods

ApplyAsync(ResponseTransformContext)

Transforms the given response. The status and headers will have (optionally) already been copied to the HttpResponse and any changes should be made there.

Applies to