Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

ConnectedNavigation

class ConnectedNavigation

A same-session route replacement emitted by a connected action.

Parameters

destination

The URL to navigate to.

replace

Whether the navigation replaces the current browser-history entry instead of adding one.

Defined by scalive.testing.ConnectedNavigation. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:217-222)

Methods1

follow

def follow: zio.package.IO[testing.ConnectedJoinFailure, testing.ConnectedView[Nothing]]

Replaces the root through the production redirect-join admission path.

Defined by scalive.testing.ConnectedNavigation.follow. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:222-222)

Values2

destination

val destination: zio.http.URL

The URL to navigate to.

Defined by scalive.testing.ConnectedNavigation.destination. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:218-218)

replace

val replace: Boolean

Whether the navigation replaces the current browser-history entry instead of adding one.

Defined by scalive.testing.ConnectedNavigation.replace. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:219-219)