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

Method forward_tcp

crates/openshell-server/src/grpc/mod.rs:291–296  ·  view source on GitHub ↗
(
        &self,
        request: Request<tonic::Streaming<TcpForwardFrame>>,
    )

Source from the content-addressed store, hash-verified

289
290 #[rpc_auth(auth = "bearer", scope = "sandbox:write", role = "user")]
291 async fn forward_tcp(
292 &self,
293 request: Request<tonic::Streaming<TcpForwardFrame>>,
294 ) -> Result<Response<Self::ForwardTcpStream>, Status> {
295 sandbox::handle_forward_tcp(&self.state, request).await
296 }
297
298 type ExecSandboxInteractiveStream = ReceiverStream<Result<ExecSandboxEvent, Status>>;
299

Callers

nothing calls this directly

Calls 1

handle_forward_tcpFunction · 0.85

Tested by

no test coverage detected