MetricsRequestInterceptor

sttp.tapir.server.interceptor.metrics.MetricsRequestInterceptor
class MetricsRequestInterceptor[F[_]](metrics: List[Metric[F, _]], ignoreEndpoints: Seq[AnyEndpoint]) extends RequestInterceptor[F]

Attributes

Graph
Supertypes
trait Interceptor[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def apply[R, B](responder: Responder[F, B], requestHandler: EndpointInterceptor[F] => RequestHandler[F, R, B]): RequestHandler[F, R, B]

Attributes

B

The interpreter-specific, low-level type of body.

R

The interpreter-specific supported capabilities, such as streaming support, websockets or Any.

Definition Classes