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

feat: web browser support with WASM #35

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from
Draft

feat: web browser support with WASM #35

wants to merge 3 commits into from

Conversation

alemidev
Copy link
Member

would be really cool to work in browser and support web-powered editors. there are a few blockers however:

  • tonic doesn't seem to provide a transport compatible with web
  • tonic-build doesn't generate client implementations compatible with wasm

there seems to be a grpc-web alternative that works in browser, and tonic supports it via tonic-web on the server.

also, grpc-web doesn't yet support bidirectional streams

so this will unfortunately probably stay a draft for a while, as we wait for tech to mature

this doesn't work because it doesn't include a tonic transport and a
grpc client implementation
@alemidev alemidev added feature New feature request needs research This issue needs further research core This issue is related to the core Rust library javascript This issue is related to the JavaScript glue labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core This issue is related to the core Rust library feature New feature request javascript This issue is related to the JavaScript glue needs research This issue needs further research
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant