sitegui / nodejs-websocket

A node.js module for websocket server and client
MIT License
736 stars 155 forks source link

Ping pong functionality #18

Closed hylkealons closed 9 years ago

hylkealons commented 9 years ago

As suggested in https://github.com/sitegui/nodejs-websocket/issues/17

Maybe you can use it

sitegui commented 9 years ago

Thanks for the contribution!

I've changed the method name from ping to sendPing in order to keep the API consistent with other methods (like sendText and sendBinary).

I'll release this as a minor, because backwards compatible feature has been added.

Thanks again