Allows the server to retain the send buffer while the client is reconnecting and preserve connection state (Context.Items, connection ID, etc.).
Thoughts:
- Would need to be opt-in and supported by both client and server. Because client needs to change to try to reconnect with the same connection ID as its previous connection.
- Need an option to configure how long to keep the connection state on the server
- Skip negotiate doesn't play well in a multi-server environment when sticky-sessions aren't enabled
- How does it work with Azure SignalR Service
- Does the client need a new event to say "doing stateful reconnect"? What's the interaction with the current automatic reconnect feature?
- If client connects with different auth credentials, do we replace the
User?
Needs work:
Allows the server to retain the send buffer while the client is reconnecting and preserve connection state (
Context.Items, connection ID, etc.).Thoughts:
User?Needs work:
Try to push feature fully into SignalR layer, i.e. get new ConnectionContext from lower layer and map onto existing connection