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

Method make_request_id

crates/openshell-server/tests/multiplex_integration.rs:88–91  ·  view source on GitHub ↗
(&mut self, _req: &Request<B>)

Source from the content-addressed store, hash-verified

86
87 impl MakeRequestId for TestUuidRequestId {
88 fn make_request_id<B>(&mut self, _req: &Request<B>) -> Option<RequestId> {
89 let id = uuid::Uuid::new_v4().to_string();
90 Some(RequestId::new(http::HeaderValue::from_str(&id).unwrap()))
91 }
92 }
93
94 let listener = TcpListener::bind("127.0.0.1:0").await.unwrap();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected