ServiceSpec

zio.http.api.ServiceSpec
See theServiceSpec companion object
sealed trait ServiceSpec[MI, MO, -AllIds]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ServiceSpec[MI, MO, AllIds]

Members list

Concise view

Value members

Concrete methods

final def ++[AllIds2](that: ServiceSpec[MI, MO, AllIds2]): ServiceSpec[MI, MO, AllIds & AllIds2]
final def apis: Chunk[EndpointSpec[_, _]]
final def middleware[MI2, MO2](ms: MiddlewareSpec[MI2, MO2])(implicit mi: Combiner[MI, MI2], mo: Combiner[MO, MO2]): ServiceSpec[Out, Out, AllIds]
final def toHttpApp[AllIds1 <: AllIds, R, E](service: Endpoints[R, E, AllIds1])(implicit ev1: MI =:= Unit, ev2: MO =:= Unit): HttpApp[R, E]
final def toHttpApp[AllIds1 <: AllIds, R, E](service: Endpoints[R, E, AllIds1], middleware: Middleware[R, MI, MO]): HttpApp[R, E]
final def withMI[MI2](implicit ev: MI =:= MI2): ServiceSpec[MI2, MO, AllIds]
final def withMO[MO2](implicit ev: MO =:= MO2): ServiceSpec[MI, MO2, AllIds]