EndpointMetric

case class EndpointMetric[F[_]](onEndpointRequest: Option[Endpoint[_, _, _, _] => F[Unit]], onResponse: Option[(Endpoint[_, _, _, _], ServerResponse[_]) => F[Unit]], onException: Option[(Endpoint[_, _, _, _], Throwable) => F[Unit]])
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def onEndpointRequest(f: Endpoint[_, _, _, _] => F[Unit]): EndpointMetric[F]
def onException(f: (Endpoint[_, _, _, _], Throwable) => F[Unit]): EndpointMetric[F]
def onResponse(f: (Endpoint[_, _, _, _], ServerResponse[_]) => F[Unit]): EndpointMetric[F]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product