lib/websocket.js
function receiverOnPing(data) {
  const websocket = this[kWebSocket];

  websocket.pong(data, !websocket._isServer, NOOP);
  websocket.emit('ping', data);
}
function receiverOnPing(data) {
  const websocket = this[kWebSocket];

  websocket.pong(data, !websocket._isServer, NOOP);
  websocket.emit('ping', data);
}
function receiverOnPing ( data ) { const websocket = this [ kWebSocket ] ; websocket . pong ( data , ! websocket . _isServer , NOOP ) ; websocket . emit ( 'ping' , data ) ; }
The listener of the `Receiver` `'ping'` event.

@param {Buffer} data The data included in the ping frame
@private
The listener of the Receiver ping event .