Dela via


ResponseTransformExtensions Class

Definition

Extensions for adding response header and trailer transforms.

public static class ResponseTransformExtensions
type ResponseTransformExtensions = class
Public Module ResponseTransformExtensions
Inheritance
ResponseTransformExtensions

Methods

AddResponseHeader(TransformBuilderContext, String, String, Boolean, ResponseCondition)

Adds the transform which will append or set the response header.

AddResponseHeaderRemove(TransformBuilderContext, String, ResponseCondition)

Adds the transform which will remove the response header.

AddResponseHeadersAllowed(TransformBuilderContext, String[])

Adds the transform which will only copy the allowed response headers. Other transforms that modify or append to existing headers may be affected if not included in the allow list.

AddResponseTrailer(TransformBuilderContext, String, String, Boolean, ResponseCondition)

Adds the transform which will append or set the response trailer.

AddResponseTrailerRemove(TransformBuilderContext, String, ResponseCondition)

Adds the transform which will remove the response trailer.

AddResponseTrailersAllowed(TransformBuilderContext, String[])

Adds the transform which will only copy the allowed response trailers. Other transforms that modify or append to existing trailers may be affected if not included in the allow list.

WithTransformCopyResponseHeaders(RouteConfig, Boolean)

Clones the route and adds the transform which will enable or suppress copying response headers to the client response.

WithTransformCopyResponseTrailers(RouteConfig, Boolean)

Clones the route and adds the transform which will enable or suppress copying response trailers to the client response.

WithTransformResponseHeader(RouteConfig, String, String, Boolean, ResponseCondition)

Clones the route and adds the transform which will append or set the response header.

WithTransformResponseHeaderRemove(RouteConfig, String, ResponseCondition)

Clones the route and adds the transform which will remove the response header.

WithTransformResponseHeadersAllowed(RouteConfig, String[])

Clones the route and adds the transform which will only copy the allowed response headers. Other transforms that modify or append to existing headers may be affected if not included in the allow list.

WithTransformResponseTrailer(RouteConfig, String, String, Boolean, ResponseCondition)

Clones the route and adds the transform which will append or set the response trailer.

WithTransformResponseTrailerRemove(RouteConfig, String, ResponseCondition)

Clones the route and adds the transform which will remove the response trailer.

WithTransformResponseTrailersAllowed(RouteConfig, String[])

Clones the route and adds the transform which will only copy the allowed response trailers. Other transforms that modify or append to existing trailers may be affected if not included in the allow list.

Applies to