Open AdamMagaluk opened 5 years ago
Pass the ping event on the transports connection to the server's EventEmitter as the _ping event. The event passes the client requests socket to allow users to identify the the socket sending the ping request.
ping
_ping
Note: I choose _ping with the underscore to identify that the typical use case is internal and unlikely to be used. Similar to https://github.com/spdy-http2/node-spdy/blob/master/lib/spdy/agent.js#L71
Pass the
ping
event on the transports connection to the server's EventEmitter as the_ping
event. The event passes the client requests socket to allow users to identify the the socket sending the ping request.Note: I choose
_ping
with the underscore to identify that the typical use case is internal and unlikely to be used. Similar to https://github.com/spdy-http2/node-spdy/blob/master/lib/spdy/agent.js#L71