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

Function grpc_status

crates/openshell-server/src/multiplex.rs:1400–1404  ·  view source on GitHub ↗
(res: &Response<B>)

Source from the content-addressed store, hash-verified

1398 }
1399
1400 fn grpc_status<B>(res: &Response<B>) -> Option<String> {
1401 res.headers()
1402 .get("grpc-status")
1403 .map(|v| v.to_str().unwrap().to_string())
1404 }
1405
1406 fn user_principal(subject: &str) -> Principal {
1407 Principal::User(UserPrincipal {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected