Variable: jsonrpc-connection
jsonrpc-connection is a variable without a source file.
This variable is obsolete since 25.1; use 'jsonrpc-connection instead
Value
jsonrpc-connection
Documentation
Base class representing a JSONRPC connection.
The following initargs are accepted:
:NAME (mandatory), a string naming the connection
:REQUEST-DISPATCHER (optional), a function of three
arguments (CONN METHOD PARAMS) for handling JSONRPC requests.
CONN is a jsonrpc-connection(var)/jsonrpc-connection(fun) object, method is a symbol, and
PARAMS is a plist representing a JSON object. The function is
expected to return a JSONRPC result, a plist of (:result
RESULT) or signal an error of type jsonrpc-error.
:NOTIFICATION-DISPATCHER (optional), a function of three
arguments (CONN METHOD PARAMS) for handling JSONRPC
notifications. CONN, METHOD and PARAMS are the same as in
:REQUEST-DISPATCHER.