WithTransformResponseTrailer
Method
func (YarpRoute) WithTransformResponseTrailer( headerName string, value string, options ...*WithTransformResponseTrailerOptions,) YarpRouteSignature
method
WithTransformResponseTrailer Adds the transform which will append or set the response trailer.
WithTransformResponseTrailer( headerName string, value string, options ...*WithTransformResponseTrailerOptions,) YarpRouteParameters
headerName stringvaluestringoptions...*WithTransformResponseTrailerOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithTransformResponseTrailerOptions argument.
Append*boolCondition*ResponseCondition Returns
YarpRoute Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: