Stream: git-wasmtime

Topic: wasmtime / PR #12950 Add wasi:http support to the C API


view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:20):

chaynabors opened PR #12950 from chaynabors:add-wasi-http-c-api to bytecodealliance:main:

Closes #12943

Adds wasi:http support to the C API following the same pattern as wasip2. The wasi-http feature implies wasi and is enabled by default.

New C API functions:

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:21):

chaynabors updated PR #12950.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:26):

chaynabors updated PR #12950.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:26):

chaynabors edited PR #12950:

Closes #12943 as requested.

Adds wasi:http support to the C API following the same pattern as wasip2. The wasi-http feature implies wasi and is enabled by default.

New C API functions:

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:30):

chaynabors edited PR #12950:

Closes #12943 as requested.

Adds wasi:http support to the C API following the same pattern as wasip2. The wasi-http feature implies wasi and is enabled by default.

New C API functions:

It would be possible to construct WasiHttpCtx::new() directly, but I kept it optional and enabled consumers of the API to pass their own in the event that the WasiHttpCtx type becomes more configurable. Something that I think would be pretty reasonable.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:53):

chaynabors requested wasmtime-default-reviewers for a review on PR #12950.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:53):

chaynabors has marked PR #12950 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:53):

chaynabors requested wasmtime-core-reviewers for a review on PR #12950.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 15:53):

chaynabors requested alexcrichton for a review on PR #12950.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 16:41):

alexcrichton submitted PR review:

Thanks for this!

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 16:41):

alexcrichton added PR #12950 Add wasi:http support to the C API to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 17:06):

alexcrichton merged PR #12950.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 03 2026 at 17:06):

alexcrichton removed PR #12950 Add wasi:http support to the C API from the merge queue.


Last updated: Apr 13 2026 at 00:25 UTC