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

Add jquery.atmosphere.js connection error handling callbacks #285

Closed
lfryc opened this issue Apr 16, 2012 · 3 comments
Closed

Add jquery.atmosphere.js connection error handling callbacks #285

lfryc opened this issue Apr 16, 2012 · 3 comments

Comments

@lfryc
Copy link

lfryc commented Apr 16, 2012

As discussed on the forums [1], it would be convenient if there will be generic error handling facility
exposed to user as error handling callbacks.

All connection types will delegate to this callback in case of error,
leaving up to user how should be error sanitized.

[1] http://groups.google.com/group/atmosphere-framework/browse_thread/thread/86d48dca2cd942c7

@lfryc
Copy link
Author

lfryc commented Apr 16, 2012

I'm going to prototype the error handling code and provide pull request,
but if anyone would like to take this issue, I strongly encourage to do so.

@jfarcand
Copy link
Member

Salut,

In 0.9 I've added onReconnect and onError callback, which can be used to handle reconnect. What is missing? Would you need a more fine grain mechanism? For sure I will work on it and make sure Atmosphere supports your scenario.

Thanks!

@lfryc
Copy link
Author

lfryc commented Apr 16, 2012

Hey J.F.,

From previous discussion [1], I got feeling that there are still no error handlers .
I will try and let you know.

I will close the issue and reopen if necessary.

Thanks!

@lfryc lfryc closed this as completed Apr 16, 2012
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

2 participants