ResponseTrailersTransform Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms for response trailers.
public abstract class ResponseTrailersTransform
type ResponseTrailersTransform = class
Public MustInherit Class ResponseTrailersTransform
- Inheritance
-
ResponseTrailersTransform
- Derived
Constructors
ResponseTrailersTransform() |
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. |
SetHeader(ResponseTrailersTransformContext, String, StringValues) |
Sets the given trailer on the HttpResponse. |
TakeHeader(ResponseTrailersTransformContext, String) |
Removes and returns the current trailer value by first checking the HttpResponse and falling back to the value from HttpResponseMessage only if HeadersCopied is not set. This ordering allows multiple transforms to mutate the same header. |