This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
Detecting a disconnect. ReactiveWebSocketSubscriptionsHandler and ApolloSubscriptionConnectionListener #579
Unanswered
pokebadgerswithspoon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm looking for a way to get notified on user disconnect. What is the right way to do it? Say detect a disconnection and notify other subscriptions that some user went offline.
My own findings are:
Looking at ReactiveWebSocketSubscriptionsHandler.java#L37 it is seen that subscriptionSession gets closed, but no calls to ApolloSubscriptionConnectionListener are made.
Could it be that ApolloSubscriptionConnectionListener::onClose is missing?
Refrerence
Beta Was this translation helpful? Give feedback.
All reactions