We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b664055 commit 7468a39Copy full SHA for 7468a39
1 file changed
docs/API.rst
@@ -31,6 +31,8 @@ Client
31
floodProtection: false,
32
floodProtectionDelay: 1000,
33
sasl: false,
34
+ retryCount: 0,
35
+ retryDelay: 2000,
36
stripColors: false,
37
channelPrefixes: "&#",
38
messageSplit: 512,
@@ -77,6 +79,9 @@ Client
77
79
var client = new irc.Client({ autoConnect: false, ... });
78
80
client.connect();
81
82
+ `retryCount` is the number of times the client will try to automatically reconnect when disconnected. It defaults to 0.
83
+
84
+ `retryDelay` is the number of milliseconds to wait before retying to automatically reconnect when disconnected. It defaults to 2000.
85
86
.. js:function:: Client.send(command, arg1, arg2, ...)
87
0 commit comments