CPP example for making asynchronous requests for ATS Wasm Plugin
To compile async.wasm
docker run -v $PWD:/work -w /work wasmsdk:v2 /build_wasm.shCopy the yaml in this directory and the generated async.wasm to /usr/local/var/wasm/ and activate the plugin in plugin.config
wasm.so /usr/local/var/wasm/async.yamlMake sure you have mapping rules in remap.config like below
You can trigger the asynchronous requests with a request with User-Agent set to test