VertxCatsServerInterpreter

sttp.tapir.server.vertx.cats.VertxCatsServerInterpreter
See theVertxCatsServerInterpreter companion object
trait VertxCatsServerInterpreter[F[_]] extends CommonServerInterpreter, VertxErrorHandler

Attributes

Companion
object
Graph
Supertypes
trait VertxErrorHandler
trait CommonServerInterpreter
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def route(e: ServerEndpoint[Fs2Streams[F] & WebSockets, F]): Router => Route

Given a Router, creates and mounts a Route matching this endpoint, with default error handling

Given a Router, creates and mounts a Route matching this endpoint, with default error handling

Attributes

Returns

A function, that given a router, will attach this endpoint to it

Inherited methods

def handleError(rc: RoutingContext, ex: Throwable): Future[Void]

Attributes

Inherited from:
VertxErrorHandler
protected def mountWithDefaultHandlers[C, F[_]](e: ServerEndpoint[C, F])(router: Router, routeDef: RouteDefinition, serverOptions: VertxServerOptions[F]): Route

Attributes

Inherited from:
CommonServerInterpreter

Implicits

Implicits

implicit def fa: Async[F]