mirror of
https://github.com/anope/anope.git
synced 2026-07-07 23:23:13 +02:00
Document the existence of the example JSON-RPC client.
This commit is contained in:
@@ -801,6 +801,8 @@ module
|
||||
* By itself this module does nothing. You should load a RPC method module like
|
||||
* rpc_data which actually provides RPC methods.
|
||||
*
|
||||
* See docs/RPC/jsonrpc.js for an example JavaScript JSON-RPC client.
|
||||
*
|
||||
* IMPORTANT: this can not be loaded at the same time as the xmlrpc module.
|
||||
*/
|
||||
#module
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ class AnopeRPC {
|
||||
* Initializes a new AnopeRPC instance with the specified RPC host.
|
||||
*
|
||||
* @param {string} The RPC host base URL.
|
||||
* @param {token} The bearer token for authorizing with the RPC token.
|
||||
* @param {token} The bearer token for authorizing with the RPC interface.
|
||||
*/
|
||||
constructor(host, token = "") {
|
||||
this.host = host;
|
||||
|
||||
Reference in New Issue
Block a user