Hi all,
Is there a way for me to filter outgoing http requests when using wasmtime-wasi-http ? Something like the socket_addr_check found on the WasiCtxBuilder but for outgoing requests
You can override send_request in your WasiHttpView implementation and inspect the request to decide whether to allow it. For those you allow, you can pass control to default_send_request. For those you disallow, you can return an error.
Last updated: Feb 24 2026 at 04:36 UTC