RoutesScope

class RoutesScope : SmartLifecycle

The scope the HTTP routes, public and internal, produce their streamed answers in, apart from the requests: cancelled once the node and the internal port have stopped, so a stream still open then ends instead of outliving the node.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val isRunning: Boolean
Link copied to clipboard
open override val phase: Int
Link copied to clipboard
val scope: CoroutineScope

The routes' scope.

Functions

Link copied to clipboard
open override fun getPhase(): Int
Link copied to clipboard
open override fun isRunning(): Boolean
Link copied to clipboard
open override fun start()
Link copied to clipboard
open override fun stop()