Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
c

LiveRouteMountAspectParamsBuilder

class LiveRouteMountAspectParamsBuilder[R, A, Need, Ctx, Params]

Parameterized route construction after mount aspects have produced context.

Defined by scalive.LiveRouteMountAspectParamsBuilder. View source (scalive/api/src/scalive/routing/LiveRouting.scala:515-581)

Methods5

apply

def apply: [Msg, Model](factory: (A, zio.http.Request, Ctx) => LiveView.Routed[Msg, Model, Params])(LiveRoute[R, A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.apply. View source (scalive/api/src/scalive/routing/LiveRouting.scala:533-535)

def apply: [Msg, Model](view: => LiveView.Routed[Msg, Model, Params])(LiveRoute[R, A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.apply. View source (scalive/api/src/scalive/routing/LiveRouting.scala:528-531)

context

def context: [Msg, Model](factory: Ctx => LiveView.Routed[Msg, Model, Params])(LiveRoute[R, A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:537-540)

def context: [Msg, Model](factory: (A, zio.http.Request, Ctx) => LiveView.Routed[Msg, Model, Params])(LiveRoute[R, A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:549-552)

def context: [R1, Msg, Model](factory: (Ctx, R1) => LiveView.Routed[Msg, Model, Params])(using evidence$1: zio.package.Tag[R1])(LiveRoute[&[R, R1], A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:542-547)

def context: [R1, Msg, Model](factory: (A, zio.http.Request, Ctx, R1) => LiveView.Routed[Msg, Model, Params])(using evidence$1: zio.package.Tag[R1])(LiveRoute[&[R, R1], A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.context. View source (scalive/api/src/scalive/routing/LiveRouting.scala:554-566)

from

def from: [Msg, Model](factory: (A, zio.http.Request, Ctx) => LiveView.Routed[Msg, Model, Params])(LiveRoute[R, A] { type Input = Need })

Defined by scalive.LiveRouteMountAspectParamsBuilder.from. View source (scalive/api/src/scalive/routing/LiveRouting.scala:568-580)

location

def location(params: Params): LiveLocation

Defined by scalive.LiveRouteMountAspectParamsBuilder.location. View source (scalive/api/src/scalive/routing/LiveRouting.scala:522-523)

locationEither

def locationEither(params: Params): Either[LiveLocation.EncodeError, LiveLocation]

Defined by scalive.LiveRouteMountAspectParamsBuilder.locationEither. View source (scalive/api/src/scalive/routing/LiveRouting.scala:525-526)