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

refactor protocol handlers #13

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

javierguerragiraldez
Copy link
Collaborator

@javierguerragiraldez javierguerragiraldez commented Aug 15, 2024

the main function injects a HandlerBuilder, the Node uses it (plus node-specific info) to new protocol handlers, each manages the connection(s) privately.

  • add something to the jsonrpc handler

the main function injects a `HandlerBuilder`, the Node uses it
(plus node-specific info) to new protocol handlers,
each manages the connection(s) privately.

Signed-off-by: Javier Guerra <[email protected]>
@javierguerragiraldez javierguerragiraldez force-pushed the refactor-protocol-handlers branch from 097a0d2 to 36316b7 Compare August 20, 2024 22:20
Signed-off-by: Javier Guerra <[email protected]>
doesn't do much beyond periodically asking for deltas because the
specfile isn't ready yet.

the current specfile was written as understood from the very first Lua
implementation,  there's a PR supposedly incorporating discussed
changes (Kong/openrpc_specfiles#2),
but no reviews from the Gateway team.
had to tweak the spec to add the `NewVersion` field to `Delta` elements.

also added a WaitGroup to make Run close with the last connection.
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.

1 participant