pub fn generate_client(
out: &mut String,
service_name: &str,
schema: &ParsedSchema,
)Expand description
Generate the main client class and scoped client classes.
Clients take a WasmRpcClient (from wasm-bindgen) and call only its
service-and-method-bound exports. The method metadata is generated
independently from the canonical Cap’n Proto request union.