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

Create Engine API to expose #281

Open
Kiyoshika opened this issue Nov 25, 2023 · 2 comments
Open

Create Engine API to expose #281

Kiyoshika opened this issue Nov 25, 2023 · 2 comments
Assignees
Labels
new feature For new features (separate from enhancements)

Comments

@Kiyoshika
Copy link
Member

Currently the RenderTree is being exposed directly, but rather we should have a general Engine API that is exposed the user agents can use. This should use the DNS system recently implemented by @jaytaph

@Kiyoshika Kiyoshika self-assigned this Nov 25, 2023
@jaytaph
Copy link
Member

jaytaph commented Dec 1, 2023

Do we have some research on how other engines expose their API? We don't need to mimic them 1 on 1, but it gives us at least an idea on what kind of communication needs to be done between the engine and a user-agent.

@Sharktheone
Copy link
Member

I think the simplest (and maybe best) way to do this, is to just expose the rust functions and structs that are used for communicating to the engine. By that I mean, we expose the internal rust things as they are. Maybe we need a thin wrapper around them for handling things like free and so on.

@Kiyoshika Kiyoshika added the new feature For new features (separate from enhancements) label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature For new features (separate from enhancements)
Projects
None yet
Development

No branches or pull requests

3 participants