Skip to main content

run_remote_environment

Function run_remote_environment 

Source
pub async fn run_remote_environment(
    config: RemoteEnvironmentConfig,
    runtime_paths: ExecServerRuntimePaths,
) -> Result<(), ExecServerError>
Expand description

Register an exec-server for remote use and serve requests over Noise.

The executor identity is generated once per process and reused across reconnects. The registration and rendezvous URL are also reused until rendezvous rejects the URL, at which point the next attempt registers again. The websocket carries cleartext routing metadata and encrypted payloads.