LiveSessionBuilder
class LiveSessionBuilder[R, Ctx]Defined by scalive.LiveSessionBuilder. View source (scalive/api/src/scalive/routing/LiveRouting.scala:778-825)
Methods5
apply
def apply[R1](routes: (LiveRouteFragment[R1] { type Input >: Ctx })*): LiveSession[&[R, R1]]Defined by scalive.LiveSessionBuilder.apply. View source (scalive/api/src/scalive/routing/LiveRouting.scala:820-824)
withAdmission
def withAdmission[R1, Claims, Out, Result, Id](aspect: LiveMountAspect[R1, Any, Ctx, Claims, Out])(connectionId: Claims => Id)(using append: ContextAppend.Aux[Ctx, Out, Result], connections: zio.package.Tag[LiveConnections[Id]]): LiveSessionBuilder.Admitted[&[&[R, R1], LiveConnections[Id]], Result]Adds the session's single active-connection admission boundary.
The signed aspect claim supplies the application-owned connection identifier. Connected mount registers the physical transport before invoking the aspect's authoritative callback.
Defined by scalive.LiveSessionBuilder.withAdmission. View source (scalive/api/src/scalive/routing/LiveRouting.scala:799-812)
withLayout
def withLayout(value: LiveLayout[Any, Ctx]): LiveSessionBuilder[R, Ctx]Defined by scalive.LiveSessionBuilder.withLayout. View source (scalive/api/src/scalive/routing/LiveRouting.scala:814-815)
withMountAspect
def withMountAspect[R1, Claims, Out, Result](aspect: LiveMountAspect[R1, Any, Ctx, Claims, Out])(using append: ContextAppend.Aux[Ctx, Out, Result]): LiveSessionBuilder[&[R, R1], Result]Defined by scalive.LiveSessionBuilder.withMountAspect. View source (scalive/api/src/scalive/routing/LiveRouting.scala:783-792)
withRootLayout
def withRootLayout(value: LiveRootLayout[Any, Ctx]): LiveSessionBuilder[R, Ctx]Defined by scalive.LiveSessionBuilder.withRootLayout. View source (scalive/api/src/scalive/routing/LiveRouting.scala:817-818)
Values1
name
val name: StringDefined by scalive.LiveSessionBuilder.name. View source (scalive/api/src/scalive/routing/LiveRouting.scala:779-779)