Skip to main content

init

Function init 

Source
pub fn init(mode: EndpointMode, runtime_dir: Option<PathBuf>)
Expand description

Initialize the global endpoint registry.

Idempotent: subsequent calls are no-ops if already initialized.

ยงArguments

  • mode - Transport mode (Inproc, Ipc, or Tcp)
  • runtime_dir - Base directory for IPC sockets (required for Ipc mode)