DestinationAttribute

Client middleware that sets the destination attribute of every request to the specified value.

Source:
DestinationAttribute.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_] : Async](client: Client[F], destination: String): Client[F]

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

Source:
DestinationAttribute.scala