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

bindings: Narrow uniffi interface #351

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

cdecker
Copy link
Collaborator

@cdecker cdecker commented Feb 5, 2024

This is the narrow uniffi interface that exposes a TlsConfig, a Scheduler and
a Signer class with its full API. The Node on the other hand does not have
all its methods, rather it has a constructor and a call method that takes
the method path, and the request payload encoded as protobuf payload, and it
returns the protobuf result. This allows us to not have to generate the method
signatures in IDL from msggen, but also pushes more of the responsibility to
the developer. On top of this we will later build the wide interface, that
uses msggen to generate the IDL file, and exposing all the methods natively.

@cdecker cdecker self-assigned this Feb 5, 2024
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