WithTransformRequestHeadersAllowed
Method
func (YarpRoute) WithTransformRequestHeadersAllowed(allowedHeaders []string) YarpRouteSignature
method
WithTransformRequestHeadersAllowed Adds the transform which will only copy the allowed request headers. Other transforms that modify or append to existing headers may be affected if not included in the allow list.
WithTransformRequestHeadersAllowed(allowedHeaders []string) YarpRouteParameters
allowedHeaders []string Returns
YarpRoute Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: