Skip to content
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

Ported reconnect API #341

Merged
merged 1 commit into from Jan 16, 2023
Merged

Ported reconnect API #341

merged 1 commit into from Jan 16, 2023

Conversation

griff
Copy link
Contributor

@griff griff commented Nov 19, 2022

This is more or less a straight port of the reconnect API from capnp-c++.

I say more or less because I also needed the setTarget functionality from CapRedirector in Sandstorm and so have included that as part of the API.

To keep the API consistent with the existing new_client and new_promise_client functions the auto_reconnect and lazy_auto_reconnect functions work with generic clients that implement FromClientHook.

@dwrensha dwrensha merged commit 1323d6c into capnproto:master Jan 16, 2023
@dwrensha
Copy link
Member

Thanks!

@griff griff deleted the reconnect branch January 29, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants