We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5eaef1 commit 89aef90Copy full SHA for 89aef90
README.markdown
@@ -35,6 +35,8 @@ var ddpclient = new DDPClient({
35
* Connect to the Meteor Server
36
*/
37
ddpclient.connect(function(error) {
38
+ // If auto_reconnect is true, this callback will be invoked each time
39
+ // a server connection is re-established
40
if (error) {
41
console.log('DDP connection error!');
42
return;
@@ -112,7 +114,7 @@ ddpclient.on('message', function (msg) {
112
114
* Close the ddp connection. This will close the socket, removing it
113
115
* from the event-loop, allowing your application to terminate gracefully
116
-ddpclient.close()
117
+ddpclient.close();
118
119
/*
120
* If you need to do something specific on close or errors.
0 commit comments