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

[Question] What is networkGateway for? #446

Open
g-linville opened this issue Dec 3, 2024 · 1 comment
Open

[Question] What is networkGateway for? #446

g-linville opened this issue Dec 3, 2024 · 1 comment

Comments

@g-linville
Copy link

The constructor for the Runtime class takes a networkGateway as one of its options: https://wasmerio.github.io/wasmer-js/types/RuntimeOptions.html

What is this option for? I have tried running an HTTP server locally and setting its localhost URL as the networkGateway, but it didn't get any requests.

@syrusakbary
Copy link
Member

We wanted to enable this to allow self hosting via WebWorkers but even though we had a prototype long ago it still needs more work

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

No branches or pull requests

2 participants