LiveRouteMountAspectBuilder
class LiveRouteMountAspectBuilder[R, A, Need, Ctx]Route construction after a mount aspect has produced typed lifecycle context.
Defined by scalive.LiveRouteMountAspectBuilder. View source (scalive/api/src/scalive/routing/LiveRouting.scala:384-503)
Methods9
apply
def apply: [Msg, Model](factory: (A, zio.http.Request, Ctx) => LiveView[Msg, Model])(LiveRoute[R, A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.apply. View source (scalive/api/src/scalive/routing/LiveRouting.scala:457-459)
def apply: [Msg, Model](view: => LiveView[Msg, Model])(LiveRoute[R, A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.apply. View source (scalive/api/src/scalive/routing/LiveRouting.scala:454-455)
context
def context: [Msg, Model](factory: Ctx => LiveView[Msg, Model])(LiveRoute[R, A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:461-464)
def context: [Msg, Model](factory: (A, zio.http.Request, Ctx) => LiveView[Msg, Model])(LiveRoute[R, A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:473-476)
def context: [R1, Msg, Model](factory: (Ctx, R1) => LiveView[Msg, Model])(using evidence$1: zio.package.Tag[R1])(LiveRoute[&[R, R1], A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:466-471)
def context: [R1, Msg, Model](factory: (A, zio.http.Request, Ctx, R1) => LiveView[Msg, Model])(using evidence$1: zio.package.Tag[R1])(LiveRoute[&[R, R1], A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:478-489)
from
def from: [Msg, Model](factory: (A, zio.http.Request, Ctx) => LiveView[Msg, Model])(LiveRoute[R, A] { type Input = Need })Defined by scalive.LiveRouteMountAspectBuilder.from. View source (scalive/api/src/scalive/routing/LiveRouting.scala:491-502)
params
def params[Params](codec: LiveParamsCodec[A, Params]): LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, Params]Defined by scalive.LiveRouteMountAspectBuilder.params. View source (scalive/api/src/scalive/routing/LiveRouting.scala:419-422)
def params: LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, A]Defined by scalive.LiveRouteMountAspectBuilder.params. View source (scalive/api/src/scalive/routing/LiveRouting.scala:424-425)
query
def query[Query](codec: zio.http.codec.package.QueryCodec[Query])(using combiner: zio.http.codec.Combiner[A, Query]): LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, combiner.Out]Defined by scalive.LiveRouteMountAspectBuilder.query. View source (scalive/api/src/scalive/routing/LiveRouting.scala:427-432)
def query[Query](name: String)(using evidence$1: zio.schema.Schema[Query], combiner: zio.http.codec.Combiner[A, Query]): LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, combiner.Out]Defined by scalive.LiveRouteMountAspectBuilder.query. View source (scalive/api/src/scalive/routing/LiveRouting.scala:434-439)
def query[Query](using evidence$1: zio.schema.Schema[Query], combiner: zio.http.codec.Combiner[A, Query]): LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, combiner.Out]Defined by scalive.LiveRouteMountAspectBuilder.query. View source (scalive/api/src/scalive/routing/LiveRouting.scala:448-452)
queryOptional
def queryOptional[Query](name: String)(using evidence$1: zio.schema.Schema[Query], combiner: zio.http.codec.Combiner[A, Option[Query]]): LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, combiner.Out]Defined by scalive.LiveRouteMountAspectBuilder.queryOptional. View source (scalive/api/src/scalive/routing/LiveRouting.scala:441-446)
withLayout
def withLayout(layout: LiveLayout[A, Ctx]): LiveRouteMountAspectBuilder[R, A, Need, Ctx]Defined by scalive.LiveRouteMountAspectBuilder.withLayout. View source (scalive/api/src/scalive/routing/LiveRouting.scala:401-407)
withMountAspect
def withMountAspect[R1, Claims, Out, Result](aspect: LiveMountAspect[R1, A, Ctx, Claims, Out])(using append: ContextAppend.Aux[Ctx, Out, Result]): LiveRouteMountAspectBuilder[&[R, R1], A, Need, Result]Defined by scalive.LiveRouteMountAspectBuilder.withMountAspect. View source (scalive/api/src/scalive/routing/LiveRouting.scala:390-399)
withRootLayout
def withRootLayout(layout: LiveRootLayout[A, Ctx]): LiveRouteMountAspectBuilder[R, A, Need, Ctx]Defined by scalive.LiveRouteMountAspectBuilder.withRootLayout. View source (scalive/api/src/scalive/routing/LiveRouting.scala:409-417)