Closed dillon-sellars closed 6 years ago
Looks all good, I will merge it. Will it be possible to add to docs. If not I will add those.
Many thanks!
Hi Deepak,
Thanks for the quick response and for keeping this library updated. I'll add something to the docs.
One step I have missed in Contribut.md - before committing your next change set, please run cake build
. It will update generated files (JS, minified JS, HTML docs).
I will update the documentation later.
Updated -- also took a stab at cleaning up _parseConnect
by handling all the special cases first.
Great!
Planning for next version of stompjs is on the way. Your participation will be really appreciated, please join at https://github.com/stomp-js/stompjs/issues/1
I have a use case where I need to access the websocket CloseEvent and do things like
if (closeEvent.code === 1008)...
. This PR adds an closeEventHandler that passes along the CloseEvent from the@ws.onclose
handler.