Dela via


ResponseTrailersFuncTransform Class

Definition

A response trailers transform that runs the given Func.

public class ResponseTrailersFuncTransform : Yarp.ReverseProxy.Transforms.ResponseTrailersTransform
type ResponseTrailersFuncTransform = class
    inherit ResponseTrailersTransform
Public Class ResponseTrailersFuncTransform
Inherits ResponseTrailersTransform
Inheritance
ResponseTrailersFuncTransform

Constructors

ResponseTrailersFuncTransform(Func<ResponseTrailersTransformContext,ValueTask>)

Methods

ApplyAsync(ResponseTrailersTransformContext)

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

Applies to