pub fn dispatch_http_body(
body: &str,
kg: &Mutex<KnowledgeGraph>,
) -> Result<Option<Value>, String>Expand description
Dispatch a Streamable-HTTP POST body, which may be a single JSON-RPC message
or a batch array. Ok(None) means the body held only notifications (HTTP
202, empty body); Err means the body was not valid JSON.