-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add reconnect method #259
Labels
Comments
This was referenced Feb 27, 2024
Hi, Team! This is min.k from Hyperconnect (Paid customer). Please also add nats.swift to the target libraries that add this feature. |
And please add nats.ws! |
Nats.ws is covered here by the Javascript client. All js clients share the API codebase @pkgonan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
Client should have a way that allows users to force reconnection process.
This can be useful for refreshing auth or rebalancing clients.
When triggered, client will drop connection to the current server and perform standard reconnection process.
That means that all subscriptions and consumers should be resubscribed and their work resumed after successful reconnect where all reconnect options are respected.
For most clients, that means having a
reconnect
method on the Client/Connection handle.Connection spec has bee updated in #258
Clients and Tools
Other Tasks
Implemented
Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.
The text was updated successfully, but these errors were encountered: