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

Method receive_stream

crates/openshell-supervisor-network/src/l7/jsonrpc.rs:116–124  ·  view source on GitHub ↗

MCP streamable HTTP uses an empty GET to receive server messages. It has no request body to inspect, but it must still pass through MCP endpoints.

()

Source from the content-addressed store, hash-verified

114 /// MCP streamable HTTP uses an empty GET to receive server messages. It has
115 /// no request body to inspect, but it must still pass through MCP endpoints.
116 pub(crate) fn receive_stream() -> Self {
117 Self {
118 calls: Vec::new(),
119 is_batch: false,
120 receive_stream: true,
121 has_response: false,
122 error: None,
123 }
124 }
125}
126
127pub(crate) fn jsonrpc_receive_stream_request(request: &L7Request) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected