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
requestThe 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.URLThe 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.RequestThe 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)