Has anyone tried/succeeded at plumbing a wasi-http incoming request into a hyper service (in a guest)?
nobody on fastlys side has tried this yet, but id love to see it
This is not using the latest wit definitions but it should be good for comparison, though. https://github.com/smithy-lang/smithy-rs/pull/2520
Well I finally have something working for this. It is very much "works for one example"-quality at this point but hopefully useful enough for others to try out: https://github.com/lann/wasi-hyperium
I'm hoping @Joel Dice's work on integrating tokio/mio with preview2 pollables will allow the custom event loop to go away.
Looking forward to trying this out, Lann
Last updated: Dec 23 2024 at 13:07 UTC