Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
JSONRPC¶
Inherits: Object
A helper to handle dictionaries which look like JSONRPC documents.
Description¶
JSON-RPC is a standard which wraps a method call in a JSON object. The object has a particular structure and identifies which method is called, the parameters to that function, and carries an ID to keep track of responses. This class implements that standard on top of Dictionary; you will have to convert between a Dictionary and JSON with other functions.
Methods¶
make_notification ( String method, Variant params ) |
|
make_request ( String method, Variant params, Variant id ) |
|
make_response ( Variant result, Variant id ) |
|
make_response_error ( int code, String message, Variant id=null ) const |
|
process_action ( Variant action, bool recurse=false ) |
|
process_string ( String action ) |
|
void |