Stream: wasi

Topic: hyper service


view this post on Zulip Lann Martin (Nov 14 2023 at 18:02):

Has anyone tried/succeeded at plumbing a wasi-http incoming request into a hyper service (in a guest)?

view this post on Zulip Pat Hickey (Nov 14 2023 at 18:31):

nobody on fastlys side has tried this yet, but id love to see it

view this post on Zulip Eduardo Rodrigues (Nov 14 2023 at 22:19):

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

Motivation and Context #2087 This is a continuation of PR #2254, it will replace the mocked HTTP client with one based on the WASI HTTP proposal. Description A separate crate called aws-smithy-wasm...

view this post on Zulip Lann Martin (Nov 30 2023 at 13:50):

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

Contribute to lann/wasi-hyperium development by creating an account on GitHub.

view this post on Zulip Lann Martin (Nov 30 2023 at 13:51):

I'm hoping @Joel Dice's work on integrating tokio/mio with preview2 pollables will allow the custom event loop to go away.

view this post on Zulip Ralph (Nov 30 2023 at 13:53):

Looking forward to trying this out, Lann


Last updated: Dec 23 2024 at 13:07 UTC