Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
o

ZioHttp

object ZioHttp

ZIO HTTP assembly for root LiveView routes.

Defined by scalive.ZioHttp. View source (scalive/transport/zio-http/src/scalive/ZioHttp.scala:22-3859)

Methods1

routes

def routes[R](application: LiveApplication[R], config: ZioHttpConfig): zio.http.Routes[R, Nothing]

Assembles the HTTP and websocket routes after synchronously validating the catalog.

Defined by scalive.ZioHttp.routes. View source (scalive/transport/zio-http/src/scalive/ZioHttp.scala:121-122)

def routes[R](application: LiveApplication[R], config: ZioHttpConfig, observer: LifecycleObserver): zio.http.Routes[R, Nothing]

Assembles routes and reports structured lifecycle events to observer.

Defined by scalive.ZioHttp.routes. View source (scalive/transport/zio-http/src/scalive/ZioHttp.scala:125-130)

def routes[R](application: LiveApplication[R], security: LiveSecurity): zio.http.Routes[R, Nothing]

Assembles routes with the security value shared by Live and ordinary HTTP handlers.

Defined by scalive.ZioHttp.routes. View source (scalive/transport/zio-http/src/scalive/ZioHttp.scala:157-158)

def routes[R](application: LiveApplication[R], security: LiveSecurity, observer: LifecycleObserver): zio.http.Routes[R, Nothing]

Assembles routes with shared security and structured lifecycle observation.

Defined by scalive.ZioHttp.routes. View source (scalive/transport/zio-http/src/scalive/ZioHttp.scala:161-166)