JSONRPC
Inherits: Object
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 |
Enumerations
enum ErrorCode:
- PARSE_ERROR = -32700
- INVALID_REQUEST = -32600
- METHOD_NOT_FOUND = -32601
- INVALID_PARAMS = -32602
- INTERNAL_ERROR = -32603
Method Descriptions
Dictionary make_notification ( String method, Variant params )
Dictionary make_request ( String method, Variant params, Variant id )
Dictionary make_response ( Variant result, Variant id )
Dictionary make_response_error ( int code, String message, Variant id=null ) const
Variant process_action ( Variant action, bool recurse=false )
String process_string ( String action )
void set_scope ( String scope, Object target )
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_jsonrpc.html