Add modality configuration option for reconnect dialog (#11733)
Leave the request state as open until reconnect is done and the message has
been delivered. This avoids flushing the rpc queue during reconnect, which
would cause two concurrent requests.
Change-Id: I320ffccd49c26acd16bd70b34ba28b465d17842c
* Add grace period for showing the reconnect dialog
* Try to reconnect once immediately
* Stop reconnecting when application is stopped
* Make it possible and easy to replace the reconnect dialog
Change-Id: I6695e7473859827db9dd64cbd373696aeb5d27a5
Use same reconnect logic for Push as for XHR (#17075)
* No longer queue message separately in PushConnection
* Use XHR for client to server communication when using long polling (or streaming)
* Websocket is used for communication in both directions
Note that using XHR for client to server responses at the same time
as a push connection is open means we must take into account on the
client side that we may receive message in the wrong order. This
will be addressed in the following change.
Change-Id: I97706db3481379593e71dc5bb552727a0486692b