docs/WASI-api.md
Development of WASI has moved to the WASI CG Subgroup; see the WASI repository and the interfaces page on wasi.dev.
For Wasmtime embedders using the C API with the component model:
wasmtime_component_linker_add_wasip2.wasi:http, also add
wasmtime_component_linker_add_wasi_http.wasmtime_context_set_wasi, and
initialize WASI HTTP with wasmtime_context_set_wasi_http (after WASI).See these headers for current signatures and feature-gating details:
For legacy preview1 documentation, see the preview1 docs.