JSONRPC: Require manual method registration

This commit is contained in:
HolonProduction
2025-04-01 20:19:49 +02:00
parent d52b84e472
commit e2c3731cdd
11 changed files with 124 additions and 43 deletions

View File

@@ -69,11 +69,14 @@
<description>
</description>
</method>
<method name="set_scope">
<method name="set_method">
<return type="void" />
<param index="0" name="scope" type="String" />
<param index="1" name="target" type="Object" />
<param index="0" name="name" type="String" />
<param index="1" name="callback" type="Callable" />
<description>
Registers a callback for the given method name.
- [param name] The name that clients can use to access the callback.
- [param callback] The callback which will handle the specific method.
</description>
</method>
</methods>