Closed jp1987 closed 6 years ago
I see no reason not to add this in to the project.
If @samuelg / @chadxz have nothing against it, I'll merge it and cut a new npm release.
The README is generated from https://github.com/asterisk/node-ari-client/tree/master/dev. The changes here will get wiped the next time we generated from the ARI swagger definition. Otherwise looks good to me.
If you could remove the README changes that would be great. If you want to update the mustache template to mention this method/event that would be nice, but not a big deal. @danjenkins :shipit: whenever
Thanks guys. I've removed the changes from the README.
To avoid half open socket connections, for instance when connecting to Asterisk over VPN, add a
client.ping()
method and emit thepong
event when received.Fixes #104