Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MockServer close event #45

Closed
rehia opened this issue Jul 21, 2015 · 1 comment
Closed

MockServer close event #45

rehia opened this issue Jul 21, 2015 · 1 comment

Comments

@rehia
Copy link

rehia commented Jul 21, 2015

Hi,

I was trying to implement a reconnection strategy when the websocket is not cleanly closed.
But it appears that the event returned when subscribing to MockSocket.onclose is not compatible with the standard CloseEvent https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent.
Some data are missing like code, reason and wasClean.

It would be interesting to get them.
What do you think about this ?

@rehia
Copy link
Author

rehia commented Jul 21, 2015

Ah, s**t, just found PR #29...
Sorry...

@rehia rehia closed this as completed Jul 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant