diff --git a/_examples/ping_20s.html b/_examples/ping_20s.html index 46993c8..ea84e13 100644 --- a/_examples/ping_20s.html +++ b/_examples/ping_20s.html @@ -101,7 +101,7 @@ end
// will throw an exception if connection fails
let nc = await connect({
- pingInterval: 20*2000, //20s
+ pingInterval: 20*1000, //20s
url: "nats://demo.nats.io:4222"
});
nc.close();
diff --git a/docs/developer/concepts/acks.html b/docs/developer/concepts/acks.html
index 2b76a70..04e8218 100644
--- a/docs/developer/concepts/acks.html
+++ b/docs/developer/concepts/acks.html
@@ -1658,10 +1658,9 @@
-
-
+
- -
+
-
@@ -1674,12 +1673,7 @@
-
-
-
-
-
-
+
@@ -1692,7 +1686,7 @@
-
+
@@ -1706,7 +1700,7 @@
- -
+
-
@@ -1719,7 +1713,7 @@
- -
+
-
@@ -1733,7 +1727,7 @@
- -
+
-
@@ -1746,7 +1740,7 @@
- -
+
-
@@ -1759,7 +1753,7 @@
- -
+
-
@@ -1772,7 +1766,7 @@
- -
+
-
@@ -1795,7 +1789,7 @@
- -
+
-
@@ -1808,7 +1802,7 @@
- -
+
-
@@ -1821,7 +1815,7 @@
- -
+
-
@@ -1835,7 +1829,7 @@
- -
+
-
@@ -1848,7 +1842,7 @@
- -
+
-
@@ -1861,7 +1855,7 @@
- -
+
-
@@ -1874,7 +1868,7 @@
- -
+
-
@@ -1892,7 +1886,7 @@
- -
+
-
@@ -1906,7 +1900,7 @@
- -
+
-
@@ -1919,7 +1913,7 @@
- -
+
-
@@ -1932,7 +1926,7 @@
- -
+
-
@@ -1945,7 +1939,7 @@
- -
+
-
@@ -1963,7 +1957,7 @@
- -
+
-
@@ -1976,6 +1970,38 @@
+ -
+
+
+
+
+ Monitoring
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Endpoints
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2094,7 +2120,20 @@
- -
+
-
+
+
+
+
+ Important Changes
+
+
+
+
+
+
+
+ -
@@ -2107,7 +2146,7 @@
- -
+
-
@@ -2120,9 +2159,9 @@
- -
+
-
-
+
Configuring
@@ -2131,11 +2170,179 @@
+
+
+
+ -
+
+
+
+
+ Command line arguments
+
+
+
+
+
- -
+
-
-
+
+
+
+ Configuration file
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Store Limits
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Limits inheritance
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Persistence
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ File Store
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Options
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Recovery Errors
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ SQL Store
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Read and Write Timeouts
+
+
+
+
+
+
+
+ -
+
+
+
+
+ Options
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
Securing
@@ -2144,6 +2351,43 @@
+
+
+
+ -
+
+
+
+
+ Authenticating Users
+
+
+
+
+
+
+
+ -
+
+
+
+
+ TLS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -2198,38 +2442,6 @@
- -
-
-
-
-
- Monitoring
-
-
-
-
-
-
-
-
- -
-
-
-
-
- Endpoints
-
-
-
-
-
-
-
-
-
-
-
-
@@ -2412,7 +2624,7 @@ digraph nats_request_reply {
// will throw an exception if connection fails
let nc = await connect({
- pingInterval: 20*2000, //20s
+ pingInterval: 20*1000, //20s
url: "nats://demo.nats.io:4222"
});
nc.close();
@@ -2624,7 +2836,7 @@ nc.close
var gitbook = gitbook || [];
gitbook.push(function() {
- gitbook.page.hasChanged({"page":{"title":"Ping/Pong Protocol","level":"3.2.5","depth":2,"next":{"title":"Controlling the Client/Server Protocol","level":"3.2.6","depth":2,"path":"developer/connecting/protocol.md","ref":"developer/connecting/protocol.md","articles":[]},"previous":{"title":"Setting a Connect Timeout","level":"3.2.4","depth":2,"path":"developer/connecting/connect_timeout.md","ref":"developer/connecting/connect_timeout.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-html":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"edit","base":"https://github.com/nats-io/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"developer/connecting/pingpong.md","mtime":"2019-06-07T16:09:25.588Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-23T18:06:05.023Z"},"basePath":"../..","book":{"language":""}});
+ gitbook.page.hasChanged({"page":{"title":"Ping/Pong Protocol","level":"3.2.5","depth":2,"next":{"title":"Controlling the Client/Server Protocol","level":"3.2.6","depth":2,"path":"developer/connecting/protocol.md","ref":"developer/connecting/protocol.md","articles":[]},"previous":{"title":"Setting a Connect Timeout","level":"3.2.4","depth":2,"path":"developer/connecting/connect_timeout.md","ref":"developer/connecting/connect_timeout.md","articles":[]},"dir":"ltr"},"config":{"plugins":["prism","-sharing","-highlight","include-html","toggle-chapters","anchors","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"prism":{"lang":{"ascii":"markup","text":"markup"}},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"include-html":{},"fontsettings":{"theme":"white","family":"sans","size":2},"edit-link":{"label":"edit","base":"https://github.com/nats-io/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"toggle-chapters":{}},"theme":"default","author":"The NATS Maintainers","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"NATS","gitbook":"*","description":"Administrative, developer and conceptual documentation for the NATS messaging system."},"file":{"path":"developer/connecting/pingpong.md","mtime":"2019-06-07T16:09:25.588Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-04T22:00:20.568Z"},"basePath":"../..","book":{"language":""}});
});
diff --git a/docs/developer/connecting/protocol.html b/docs/developer/connecting/protocol.html
index c72d3ea..5f13827 100644
--- a/docs/developer/connecting/protocol.html
+++ b/docs/developer/connecting/protocol.html
@@ -1658,10 +1658,9 @@
-
-
+