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

Rework the websocket client with new sync mode + more intuitive usage patterns + add daemon service #113

Merged
merged 7 commits into from
Mar 16, 2024

Conversation

cmmarslender
Copy link
Contributor

  • Adds sync mode option to websocket client, to allow it to act more like the request/response HTTP client
  • Add daemon service (available only via websocket)
  • get_network_info endpoint on daemon service
  • Add ability to remove a registered websocket handler

…sync mode + ability to remove handlers after they're registered

Sync mode will cause the rpc function calls to wait for their response before returning (request/response style calls vs async handlers)
@cmmarslender cmmarslender enabled auto-merge (squash) March 16, 2024 21:23
@cmmarslender cmmarslender disabled auto-merge March 16, 2024 21:53
…not supported by the HTTP client, leave nil return as implied/only-option type functions
@cmmarslender cmmarslender merged commit 71666e5 into main Mar 16, 2024
5 checks passed
@cmmarslender cmmarslender deleted the websocket-rework branch March 16, 2024 22:02
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.

2 participants