Skip to main content

process_jsonrpc_message

Function process_jsonrpc_message 

Source
pub fn process_jsonrpc_message(
    line: &str,
    intent_frame: &McpIntentFrame,
) -> Option<String>
Expand description

Handle a single incoming JSON-RPC 2.0 line. Returns Some(response_json) if the request requires a response, or None if it was a notification.