Example taken from branch here.
Basically just a working version of the http_headers example from the proxy-wasm-rust-sdk.
Make sure docker
and rust
are installed.
Run make
.
curl localhost:10000
and check the envoy logs from docker compose. You will see http headers logged by the wasm vm.
curl localhost:10000/hello
and check the response headers. You will see the headers added by the wasm vm.