WithTransformResponseTrailersAllowed
Method
func (YarpRoute) WithTransformResponseTrailersAllowed(allowedHeaders []string) YarpRouteSignature
method
WithTransformResponseTrailersAllowed 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.
WithTransformResponseTrailersAllowed(allowedHeaders []string) YarpRouteParameters
allowedHeaders []string Returns
YarpRoute Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: