The JSON-RPC module (Pt::JsonRpc) of the Pt framework provides a client API to call remote procedures and a server API to implement remote procedures. Blocking and non-blocking APIs exist in either case. The JSON-RPC module builds on top of the HTTP module (Pt::Http) and uses the HTTP client and server implementation thereof. Custom data-types can be used in JSON-RPC procedures if they are serializable using Pt's serialization API.
Classes | |
| class | Fault |
| JSON-RPC fault exception. More... | |
| class | Responder |
| Dispatches requests to a service procedure. More... | |