TestServerInterpreter

sttp.tapir.server.tests.TestServerInterpreter
trait TestServerInterpreter[F[_], +R, OPTIONS, ROUTE]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

protected type Interceptors = (CustomiseInterceptors[F, OPTIONS]) => CustomiseInterceptors[F, OPTIONS]

Value members

Abstract methods

def route(es: List[ServerEndpoint[R, F]], interceptors: Interceptors): ROUTE
def serverWithStop(routes: NonEmptyList[ROUTE], gracefulShutdownTimeout: Option[FiniteDuration]): Resource[IO, (Port, KillSwitch)]

Concrete methods

def route(e: ServerEndpoint[R, F]): ROUTE
def route(e: ServerEndpoint[R, F], interceptors: Interceptors): ROUTE
def server(routes: NonEmptyList[ROUTE]): Resource[IO, Port]