-
Notifications
You must be signed in to change notification settings - Fork 371
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
Ability to disable sockjs fallback #54
Comments
I agree, the current solution is far from perfect. In your case, it might be better to whitelist transports than to blacklist them. We might be introducing some new transports and if you just blacklist SockJS and Flash, you might end up with some fallbacks enabled anyway, which is not what you'd really want. Whitelisting WebSockets would work fine in your case and you wouldn't change anything when updating pusher-js. |
Sounds good! How do I go about whitelisting them? I cannot find anything in the source (searching for |
It's not supported, I was thinking whether to replace this issue with implementing a transport whitelist. |
Released today in 2.1.4 ( |
Awesome! ⛵ (perhaps you should deprecated the |
It will be deprecated in 2.2 and removed in 3.0. |
Nice! Just tried 2.1.4, works great! |
We like Pusher, it's awesome!
What's also awesome is that web sockets is supported in the latest version of IE, FF, Chrome, iOS and Android. Hence, we don't need the fallbacks and because of that we can also skip the dependency loading pain.
It would be great if sockjs could be disabled similar to the flash fallback.
We're doing this right now, which seems to work, but that could change with an update to the client so an option would be great.
The text was updated successfully, but these errors were encountered: