MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / client_stream_stats

Function client_stream_stats

packages/server/src/api/routes.rs:1597–1601  ·  view source on GitHub ↗
(State(state): State<AppState>)

Source from the content-addressed store, hash-verified

1595}
1596
1597async fn client_stream_stats(State(state): State<AppState>) -> Json<Value> {
1598 json(json_value!({
1599 "clientStreams": state.metrics.client_stream_stats_snapshot(),
1600 }))
1601}
1602
1603async fn record_client_stream_stats(
1604 State(state): State<AppState>,

Callers

nothing calls this directly

Calls 1

jsonFunction · 0.85

Tested by

no test coverage detected