You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no straightforward way to tell a session "Logout and then disconnect"
If you call 'disconnect()' we just disconnect - we don't try to send a logout let alone wait for a response - we take a reason but we don't send it to the client. This is seen in #244 and #101
This would be a high level call which abstracted away all the interaction waiting for the logout response. The future would provide a way of monitoring it if desired.
Alternatives/work-arounds:
User implementation of behaviour in app-code
Just calling disconnect and hoping the other side behaves reasonably
The text was updated successfully, but these errors were encountered:
There's no straightforward way to tell a session "Logout and then disconnect"
If you call 'disconnect()' we just disconnect - we don't try to send a logout let alone wait for a response - we take a reason but we don't send it to the client. This is seen in #244 and #101
Ideally there would be a method similar to:
Future<LogoutResponse> logoutAndDisconnect(int waitForResponseTimeout) {}
which:
This would be a high level call which abstracted away all the interaction waiting for the logout response. The future would provide a way of monitoring it if desired.
Alternatives/work-arounds:
disconnect
and hoping the other side behaves reasonablyThe text was updated successfully, but these errors were encountered: