new JSONRPCServerJSONRPCSever is the core class of the package, responsible for handling JSON-RPC requests. It allows you to register methods, process incoming requests (including batches), and send appropriate responses or error messages, all while following the JSON-RPC 2.0 specification. The class also includes basic logging functionality to track incoming requests and responses.
|
The object JSONRPCServer is a type, with ancestor classes MutableHashTable < HashTable < Thing.
The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/JSONRPC.m2:256:0.