LocalServerEngine

Functions

Link copied to clipboard

True once the device's live LAN address no longer matches the one the server bound to at start -- e.g. a DHCP lease change while the server keeps running. The server keeps advertising the now-dead address either way; this is purely a detection signal for the UI to surface honestly (see the More screen) rather than an automatic rebind. Always false for LOOPBACK binding, while stopped, or for an engine that doesn't implement detection.

Link copied to clipboard
abstract suspend fun start(request: StartRequest): ServerStartResult
Link copied to clipboard
abstract suspend fun stop()