Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
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-3143)

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:111-112)

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:125-126)