MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / next_request_id

Method next_request_id

nodedb/src/control/server/session.rs:150–152  ·  view source on GitHub ↗

Allocate a unique request ID via the per-node counter.

(&self)

Source from the content-addressed store, hash-verified

148
149 /// Allocate a unique request ID via the per-node counter.
150 fn next_request_id(&self) -> RequestId {
151 self.state.next_request_id()
152 }
153
154 /// Register the session in the registry after authentication and store the
155 /// kill receiver. No-op if the user has `user_id == 0` (trust mode fallback).

Callers 1

run_innerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected