Sample envoy http filter using a wasm module
This code uses proxy-wasm-go-sdk and tinygo to build the wasm module
Make will launch a docker container with tinygo
to build and run unit tests
$ make
One can test this locally using one of the two methods
$ make run-with-docker
$ docker-compose -f test/docker-compose.yaml --project-directory $(pwd) up
Both of these expose the proxy in port 8000
. Try curl http://localhost:8000 -v
and watch for response headers and proxy logs.