-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Options for fallbacks? #39
Comments
There isn't anything like 'polling frequency'. Polling transports do a trick called "long polling", which means that the polling request hangs and waits for data (a single call can hang at most until a heartbeat - 25 seconds by default). All other options are defined in the README. |
I'm talking about this specifically: "Polling transport SockJS supports few good-old polling protocols for ancient browsers (including IE7). Unfortunately these techniques are quite slow, but there is not much that can done about it. Polling transports can also be used in situations where proxy on the client side doesn't support WebSockets nor http chunking - it is required for the streaming protocols." |
This still holds true. We'll do long polling using JSONP and it can hang for anything from 0 seconds (when data is already buffered and available on the server side immediately) to 25 seconds (when heartbeat will be fired and will force the polling request to be re-issued). |
For example, to set the polling frequency.
The text was updated successfully, but these errors were encountered: