VertxCatsServerInterpreter

class Object
trait Matchable
class Any

Type members

Inherited classlikes

class VertxFutureToCatsF[A](f: => Future[A])

Value members

Inherited methods

protected def mountWithDefaultHandlers[F[_], I, E, O, C](e: ServerEndpoint[I, E, O, C, F])(router: Router, routeDef: RouteDefinition): Route
def route[F[_], I, E, O](e: ServerEndpoint[I, E, O, Fs2Streams[F], F])(implicit endpointOptions: VertxCatsServerOptions[F], effect: ConcurrentEffect[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

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

Returns

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

Inherited from
VertxCatsServerInterpreter
def route[F[_], I, E, O](e: Endpoint[I, E, O, Fs2Streams[F]])(logic: I => F[Either[E, O]])(implicit endpointOptions: VertxCatsServerOptions[F], effect: ConcurrentEffect[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

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

logic

the logic to associate with the endpoint

Returns

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

Inherited from
VertxCatsServerInterpreter
def routeRecoverErrors[F[_], I, E, O](e: Endpoint[I, E, O, Fs2Streams[F]])(logic: I => F[O])(implicit endpointOptions: VertxCatsServerOptions[F], effect: ConcurrentEffect[F], eIsThrowable: E <:< Throwable, eClassTag: ClassTag[E]): Router => Route

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

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

Value Params
endpointOptions

options associated to the endpoint, like its logging capabilities, or execution context

logic

the logic to associate with the endpoint

Returns

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

Inherited from
VertxCatsServerInterpreter