Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

LiveSessionMountRequest

class LiveSessionMountRequest(request: zio.http.Request)

Input available to a LiveSessionMountAspect callback.

During disconnected mount, request is the browser's HTTP request. During connected mount, Scalive synthesizes it from the URL in the socket join, so it does not retain the original request's cookies, headers, method, or body. Transfer only the minimum data needed by connected mount through the aspect's signed claims, and revalidate mutable authorization state there.

Parameters

request

The request for this mount phase: the browser's HTTP request when disconnected, or a GET request built from the join URL when connected.

Defined by scalive.LiveSessionMountRequest. View source (scalive/api/src/scalive/LiveSessionMountAspect.scala:18-20)

Methods1

url

def url: zio.http.URL

The request URL for this mount phase.

Defined by scalive.LiveSessionMountRequest.url. View source (scalive/api/src/scalive/LiveSessionMountAspect.scala:20-20)

Values1

request

val request: zio.http.Request

The request for this mount phase: the browser's HTTP request when disconnected, or a GET request built from the join URL when connected.

Defined by scalive.LiveSessionMountRequest.request. View source (scalive/api/src/scalive/LiveSessionMountAspect.scala:18-18)