Closed vozhyk- closed 7 years ago
Are you able to able to make the :close callback function run when the client closes the connection?
This issue was fixed in commit https://github.com/fukamachi/websocket-driver/commit/9fff117f6772d52f4b384481cb036309df5d926d
Thanks, closing.
The documentation specifies that the callback takes 2 arguments:
code reason
. However, the code emits the event with:code code :reason reason
. The documentation should be updated.