object DestinationAttribute
Client middleware that sets the destination attribute of every request to the specified value.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DestinationAttribute
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- val Destination: Key[String]
- val EmptyDestination: String
- def apply[F[_]](client: Client[F], destination: String)(implicit arg0: Sync[F]): Client[F]
-
def
getDestination[F[_]](): (Request[F]) ⇒ Option[String]
The returned function can be used as classifier function when creating the Metrics middleware, to use the destination attribute from the request as classifier.
The returned function can be used as classifier function when creating the Metrics middleware, to use the destination attribute from the request as classifier.
- returns
the classifier function