[toc]
deno rpc package
Deno RPC communications package, supporting small RPC packages with custom protocols
- base protocol define
- Exposed client
- support Long type
- Support for flatbuffer custom protocol
one part: protocol structure
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
type | requestId | codec | bodyLength | ||||||
payload |
two part: protocol content
- type : request or response --->1Byte
- requestId : uniqueID ---> 4Byte (int32)
- codec: flag application layer protocols 1Byte
- bodyLength: payload length