summaryrefslogtreecommitdiff
path: root/doc/classes/JSONRPC.xml
blob: 905b4d17f450f5bdf13b669f8fe9044ef90b45bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8" ?>
<class name="JSONRPC" inherits="Object" version="3.2">
	<brief_description>
	</brief_description>
	<description>
	</description>
	<tutorials>
	</tutorials>
	<methods>
		<method name="make_notification">
			<return type="Dictionary">
			</return>
			<argument index="0" name="method" type="String">
			</argument>
			<argument index="1" name="params" type="Variant">
			</argument>
			<description>
			</description>
		</method>
		<method name="make_request">
			<return type="Dictionary">
			</return>
			<argument index="0" name="method" type="String">
			</argument>
			<argument index="1" name="params" type="Variant">
			</argument>
			<argument index="2" name="id" type="Variant">
			</argument>
			<description>
			</description>
		</method>
		<method name="make_response">
			<return type="Dictionary">
			</return>
			<argument index="0" name="result" type="Variant">
			</argument>
			<argument index="1" name="id" type="Variant">
			</argument>
			<description>
			</description>
		</method>
		<method name="make_response_error" qualifiers="const">
			<return type="Dictionary">
			</return>
			<argument index="0" name="code" type="int">
			</argument>
			<argument index="1" name="message" type="String">
			</argument>
			<argument index="2" name="id" type="Variant" default="null">
			</argument>
			<description>
			</description>
		</method>
		<method name="process_action">
			<return type="Variant">
			</return>
			<argument index="0" name="action" type="Variant">
			</argument>
			<argument index="1" name="recurse" type="bool" default="false">
			</argument>
			<description>
			</description>
		</method>
		<method name="process_string">
			<return type="String">
			</return>
			<argument index="0" name="action" type="String">
			</argument>
			<description>
			</description>
		</method>
		<method name="set_scope">
			<return type="void">
			</return>
			<argument index="0" name="scope" type="String">
			</argument>
			<argument index="1" name="target" type="Object">
			</argument>
			<description>
			</description>
		</method>
	</methods>
	<constants>
		<constant name="PARSE_ERROR" value="-32700" enum="ErrorCode">
		</constant>
		<constant name="INVALID_REQUEST" value="-32600" enum="ErrorCode">
		</constant>
		<constant name="METHOD_NOT_FOUND" value="-32601" enum="ErrorCode">
		</constant>
		<constant name="INVALID_PARAMS" value="-32602" enum="ErrorCode">
		</constant>
		<constant name="INTERNAL_ERROR" value="-32603" enum="ErrorCode">
		</constant>
	</constants>
</class>