-
Notifications
You must be signed in to change notification settings - Fork 446
Transport Fallback #1373
Comments
Does this means, There will a Transport type automatic which will take care of the connection change. I mean if Websocket work, Will it switch itself to Long Polling.?? |
The idea now is that if you fail to initially connect with the requested transport, we will try to fall back to other transports in the order WebSockets, Server Sent Events, then LongPolling. The design isn't completely finalized but we have decided that we want to add the core fallback functionality back |
This is out of curiosity.. I have not yet contributed to any open source project and may have limited knowledge in that matter.
Is the fall back functionality more or less this, handled internally.?? |
Fallback will need to be implemented in both clients (C# and JS) and we'll need to do some design to figure out exactly how we want to accomplish it. There are lots of edge cases that need to be considered when building a general-purpose feature like this :). I'm not sure we'll do any fallback after the connection is established, for example, as that has caused a lot of problems in previous versions of SignalR because you have to deal with what happens with messages sent while transport fallback occurs. If you're looking for something to contribute back to the project, I don't think this is a great fit, I'm afraid. We certainly appreciate your interest, but we haven't even really defined what this feature is going to look like yet :). |
@anurse re: |
Except that in the scenario we're talking about, the first transport failed at some arbitrary point with neither the server nor the client knowing for sure which messages made it through. To retransmit those messages the client and server need to manage sequence numbers, which is precisely what we're trying to avoid right now due to the complexities it created in SignalR 2.x |
Looks like it will be coming back.
The text was updated successfully, but these errors were encountered: