-
Notifications
You must be signed in to change notification settings - Fork 90
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
Feature: Support wasi:http/proxy
world in wasmtime shim
#416
Comments
I am really interested in this support. Is someone working on this? |
Thanks! There isn't anyone working on this as far as I know, so feel free to take it on.
I am afraid it's going to be more involved than just upgrading wasmtime to a higher version. As of today, the wasmtime shim only supports the If I would implement this, I will make it very similar to how Hope this helps and as usual don't hesitate to ask more questions and reach out. Happy to help! |
I'm afraid I know too little about the inner workings of runwasi to make this in a productive manner, but I will try and we'll see how it goes.
I naïvely thought that the shim could just call the cli tool |
Yeah the shim is using wasmtime APIs to load, compile and run the wasm binaries. Supporting |
@matsbror we have implemented the wasi:http proxy support in Wasmtime Shim thanks to @andreiltd 's work. Let me know if you this helps your work! #691 |
Thank you! I will have a look! |
This is a feature request for enhencing the capability of the wasmtime shim this repo provides.
Motivation
WASI HTTP proposal has reached phase 3, meaning it provides a new phase of stability. It is one of the two WASI worlds that are developed alongside with WASI preview 2. While #401 enables wasm component support in wamtime shim, it assumes the world the components are targeting to is
wasi:cli/command
which is POSIXmain
function. This proposal acts as an extension to #384 to support thewasi:http/proxy
world.wasi:http/proxy
defines a collection of interfaces for sending and receiving HTTP requests and responses. The host implementation is currently supported by wasmtimev15.0.1
(e.g. via wasmtime-wasi-http crate), and wasmtime CLI provides a niceserve
command handle HTTP requests from wasm files.Feature Request
wasi:http/proxy
world.wasi:cli/command
supported by the wasmtime shim.The text was updated successfully, but these errors were encountered: