MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / send

Method send

crates/opencode-mcp/src/client.rs:944–946  ·  view source on GitHub ↗
(&self, _request: &JsonRpcRequest)

Source from the content-addressed store, hash-verified

942 #[async_trait]
943 impl McpTransport for MockTransport {
944 async fn send(&self, _request: &JsonRpcRequest) -> Result<(), McpClientError> {
945 Ok(())
946 }
947
948 async fn receive(&self) -> Result<Option<JsonRpcMessage>, McpClientError> {
949 let next = self.messages.lock().await.pop_front();

Callers 2

send_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected