MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / make_request_id

Method make_request_id

crates/openshell-server/src/multiplex.rs:51–54  ·  view source on GitHub ↗
(&mut self, _req: &Request<B>)

Source from the content-addressed store, hash-verified

49
50impl MakeRequestId for UuidRequestId {
51 fn make_request_id<B>(&mut self, _req: &Request<B>) -> Option<RequestId> {
52 let id = uuid::Uuid::new_v4().to_string();
53 Some(RequestId::new(HeaderValue::from_str(&id).unwrap()))
54 }
55}
56
57/// Build a tracing span for an inbound request, recording the `request_id`

Calls

no outgoing calls