PKClient needs to use WebSocketClient and RPCClient in the start/stop procedure#602
Merged
CMCDragonkai merged 4 commits intostagingfrom Oct 24, 2023
Merged
Conversation
… `try` block so that the info log is at the top
…` in the start/stop procedures, and destroy is kept for destroying session state
12 tasks
Member
Author
|
Note that So when you create, stop, start. On the start call you have pass back whatever options you wanted. UX wise it might be unexpected. We could solve this in the future by saving the options on creation, and then having start default to the options set on creation if they exist, otherwise the default config. It would be a good idea to then extend |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
The PKClient needs to use WS and RPC in the start/stop so that we can start and stop the PK client to any given client service, while also destroying is for destroying the session state.
Issues Fixed
Tasks
WebSocketClientandRPCClientinto start/stopPolykeyClient.nodeIdPolykeyClient.startnow takes a subset of the creation parameters, and you can stop and start a connection to different client serviceFinal checklist