diff options
| author | Sadie Powell <sadie@witchery.services> | 2025-02-13 04:05:18 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2025-02-13 04:19:39 +0000 |
| commit | 9e621cca11ae3cf1d54356a8910d9205fadbf0ee (patch) | |
| tree | 4790d82665a31765d3299338aa29864e1cfdd3d2 /data | |
| parent | 1e82b4075e6982d32a6ed5d29ee79ab8fd81fe2e (diff) | |
Add the new JSON-RPC module to compliment the XMLRPC one.
Diffstat (limited to 'data')
| -rw-r--r-- | data/modules.example.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf index 604f05c43..bfc1643ac 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -786,10 +786,28 @@ module { name = "sasl" } } /* + * jsonrpc + * + * Allows remote applications (websites) to execute queries in real time to retrieve data from Anope. + * By itself this module does nothing, but allows other modules (rpc_main) to receive and send JSON-RPC queries. + * + * IMPORTANT: this can not be loaded at the same time as the xmlrpc module. + */ +#module +{ + name = "jsonrpc" + + /* Web service to use. Requires httpd. */ + server = "httpd/main" +} + +/* * xmlrpc * * Allows remote applications (websites) to execute queries in real time to retrieve data from Anope. * By itself this module does nothing, but allows other modules (rpc_main) to receive and send XMLRPC queries. + * + * IMPORTANT: this can not be loaded at the same time as the jsonrpc module. */ #module { |
