bytecodealliance / wasmtime

A fast and secure runtime for WebAssembly
https://wasmtime.dev/
Apache License 2.0
14.81k stars 1.24k forks source link

Refactor and document the wasmtime-wasi-http more #8861

Closed alexcrichton closed 1 week ago

alexcrichton commented 1 week ago

This commit primarily adds a complete example of using wasmtime-wasi-http to the documentation. Along the way I've done a number of other refactorings too:

I initially wanted to do more refactoring and documenting but I ran out of steam after this so this is where I'm going to leave it for now.

Closes #8832