Skip to main content

shutdown

Function shutdown 

Source
pub async fn shutdown(
    _cfm: SharedConfium,
    _params: Value,
) -> Result<Value, RpcError>
Expand description

shutdown(){"ok": true}

The handler itself only acknowledges the request. The actual shutdown is triggered by the connection layer watching for this method name — when it sees shutdown, it initiates graceful teardown after replying.