ServerMiddlewareBuilder
org.http4s.otel4s.middleware.ServerMiddleware.ServerMiddlewareBuilder
Attributes
- Source
- ServerMiddleware.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
def buildGenericTracedHttp[G[_] : MonadCancelThrow](f: Http[G, F])(implicit evidence$1: MonadCancelThrow[G], kt: KindTransformer[F, G]): Http[G, F]
This method is used for building a middleware in a way that abstracts over HttpApp
and HttpRoutes
.
This method is used for building a middleware in a way that abstracts over HttpApp
and HttpRoutes
. In most cases, it is preferable to use the methods that directly build the specific desired type.
Attributes
- See also
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
def withAdditionalRequestTags(additionalRequestTags: (Request[F]) => Seq[Attribute[_]]): ServerMiddlewareBuilder[F]
Attributes
- Source
- ServerMiddleware.scala
def withAdditionalResponseTags(additionalResponseTags: (Response[F]) => Seq[Attribute[_]]): ServerMiddlewareBuilder[F]
Attributes
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
def withRouteClassifier(routeClassifier: (Request[F]) => Option[String]): ServerMiddlewareBuilder[F]
Attributes
- Source
- ServerMiddleware.scala
Attributes
- Source
- ServerMiddleware.scala
In this article