Skip to main content

encode_initialize_response

Function encode_initialize_response 

Source
pub fn encode_initialize_response(
    id: JsonRpcId,
    server_name: &str,
    server_version: &str,
) -> Result<WireMessage, DebugProtocolError>
Expand description

The MCP handshake, answered on behalf of whichever host is serving.

server_name used to be the literal tauri-runtime-blitz (now izumo), because that is where this code lived. There are three hosts now, and none of them is this crate: a window runtime, a headless browser, and an embedder driving a browser in-process. Each says its own name.