ResponseTransformExtensions 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.
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. |