Expand description
TypeScript client generation.
Generates client interface and implementation for making caller-visible RPC calls. Each generated method issues one logical call, which may map to one or more request attempts at runtime if retry/session recovery is involved. The client uses the canonical service schema table for request/response encode/decode. No method-specific serialization code is generated here.
Functionsยง
- generate_
caller_ interface - Generate caller interface for making caller-visible RPC 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.