Interface SubscriptionClient
- All Known Implementing Classes:
SubscriptionClientReactiveImpl
public interface SubscriptionClient
This interface allows the application to interact with the subscription, once it has subscribed to it. The currently
only available action is
This instance also allows to retrieve the
that is connected, if the application needs to
interact with it.
unsubscribe().This instance also allows to retrieve the
invalid reference
WebSocketSession
- Author:
- etienne-sf
-
Method Summary
Modifier and TypeMethodDescriptionvoidAllows the client application to unsubscribe from a previously subscribed subscription.
-
Method Details
-
unsubscribe
Allows the client application to unsubscribe from a previously subscribed subscription. No more notification will be sent for this subscription.
This will free resources on both the client and the server.- Throws:
GraphQLRequestExecutionException
-