Skip to main content

run

Function run 

Source
pub async fn run(config: BridgeConfig, token: String) -> Result<()>
Expand description

Binds both planes (fail-closed) and serves until the process is stopped.

Thin wrapper over BridgeServer::start + BridgeServer::wait that also prints the startup banner — preserved so omni-dev browser bridge serve is behaviourally unchanged.

token is the already-resolved session token (never sourced from argv).