ConnectedClient
class ConnectedClient[-R]A routed page bootstrap that can create fresh physical transports for reconnect tests.
Defined by scalive.testing.ConnectedClient. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:172-218)
Methods3
disconnect
def disconnect: zio.package.UIO[Unit]Closes the currently active physical transport, if any.
Defined by scalive.testing.ConnectedClient.disconnect. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:189-190)
join
def join: zio.ZIO[&[R, zio.Scope], testing.ConnectedJoinFailure, testing.ConnectedView[Nothing]]Opens the initial physical transport and joins the routed root.
Defined by scalive.testing.ConnectedClient.join. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:183-183)
reconnect
def reconnect: zio.ZIO[&[R, zio.Scope], testing.ConnectedJoinFailure, testing.ConnectedView[Nothing]]Closes any previous transport and rejoins with the retained page credentials.
Defined by scalive.testing.ConnectedClient.reconnect. View source (scalive/testing/src/scalive/testing/ConnectedRender.scala:186-186)