Function build_init_message
Source pub fn build_init_message(pipe_path: &str, schema: &InitSchema) -> String
Expand description
Build the $init JSON-RPC message.
This creates the JSON message that should be sent to the parent
via stdout to initialize the connection.
§Arguments
pipe_path - Path to the pipe/socket for data plane
schema - Schema describing methods and events
§Returns
JSON string ready to be written to stdout.