Emit ping and pong events from the Server driver

This commit is contained in:
James Coglan
2020-02-14 14:42:15 +01:00
parent 43656559b0
commit d892d3bad5
+1 -1
View File
@@ -14,7 +14,7 @@ var Server = function(options) {
util.inherits(Server, Base);
var instance = {
EVENTS: ['open', 'message', 'error', 'close'],
EVENTS: ['open', 'message', 'error', 'close', 'ping', 'pong'],
_bindEventListeners: function() {
this.messages.on('error', function() {});