Stream: wasmtime

Topic: fltering outgoing http requests from wasmtime-wasi


view this post on Zulip Andrew Chin (Feb 15 2026 at 22:08):

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

view this post on Zulip Joel Dice (Feb 17 2026 at 21:06):

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