Expand description
TypeScript client generation.
Generates client interface and implementation for making RPC calls. The client uses the service descriptor for schema-driven encode/decode — no serialization code is generated here.
Functions§
- generate_
caller_ interface - Generate caller interface (for making calls to the service).
- generate_
client - Generate complete client code (interface + implementation + connect helper).
- generate_
client_ impl - Generate client implementation.
- generate_
connect_ function - Generate a connect() helper function for WebSocket connections.