Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

LiveRegistration

class LiveRegistration[-R]

A route registered with the LiveView it mounts, as returned by ->, from, or context.

Pass it to Live.router, or to a named live session when it reads the session's context.

Type parameters

R

the services its factory and mount aspects need from the server's environment

Defined by scalive.LiveRegistration. View source (scalive/api/src/scalive/routing/LiveRouting.scala:164-187)

Types1

Input

type Input

The context this route reads from an enclosing named live session, Any when it reads none.

The router accepts only registrations whose input is Any. A route that reads session context, through context or a route mount aspect, must be passed to a session that produces it.

Defined by scalive.LiveRegistration.Input. View source (scalive/api/src/scalive/routing/LiveRouting.scala:171-171)