Let RPC handle responses too

This commit is contained in:
cpq committed 2022-08-26 17:41:13 +01:00
1 parent f474a31484
commit b73022096d
4 files changed
+63 -20

No files matched your search

+4
View File
@@ -2979,6 +2979,10 @@ Parameters:
- `handler` - the RPC function performing the action for this method
- `handler_data` - Arbitrary function data
<span class="badge bg-info">NOTE:</span>
if `method_pattern` is an empty string, this handler will be called to process
JSON-RPC responses. Handling responses might be necessary if the JSON requests
are initiated by both sides.
Usage example: