- TSRPC is a TypeScript RPC framework, with runtime type check and binary serialization, both support HTTP and WebSocket.
TSRPCProto
is the service definition of it.- It includes two type service:
ApiService
andMsgService
.- ApiService is like B/S model, send request and wait for reponse.
- MsgService is like pub/sub model, send and listen specific message.
- Also include some type definition that shared between TSRPC families.
See API Reference.