Merge pull request #104890 from HolonProduction/json-rpc-manual-bind

JSONRPC: Require manual method registration
This commit is contained in:
Thaddeus Crews 2025-04-03 16:50:24 -05:00
commit 8bd9cdeea6
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
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>