joewalnes / reconnecting-websocket

A small decorator for the JavaScript WebSocket API that automatically reconnects
MIT License
4.21k stars 968 forks source link

Default 1000 closing code added #31

Closed Jakobud closed 9 years ago

Jakobud commented 9 years ago

Added default closing code of 1000 CLOSE_NORMAL, in the case that a code... is not passed to the .close() method.