Skip to content

Fallback to polling does not work #3998

Discussion options

You must be logged in to vote

Hi! I think the word "fallback" may be a bit misleading here, as the order of the transports in the transports option matters:

  • ["websocket", "polling"] means: establish a WebSocket connection first (or use HTTP long-polling if WebSocket is not available, for example in older browsers)
  • ["polling", "websocket"] means: establish a HTTP long-polling connection first, and then upgrade to WebSocket

Related: https://github.com/socketio/engine.io-client/issues/575

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@RonnieRocket147
Comment options

@darrachequesne
Comment options

@RonnieRocket147
Comment options

@darrachequesne
Comment options

Answer selected by darrachequesne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants