Expand description
Make HTTP requests from inside your WASM handler.
Use this to call external APIs (Keycloak admin, third-party services, etc.) from your handler code.
Structs§
- Fetch
Request - A single request inside a
fetch_manybatch. - Fetch
Response - Response from an HTTP request.
Functions§
- delete
- Make a DELETE request.
- fetch
- Make an HTTP request.
- fetch_
many - Make N HTTP requests concurrently from the host. Per-item errors are
reported in the returned slot (other slots still succeed). Use this
when you’d otherwise call
fetchin a loop — sequential blocking fetches inside WASM are linear, the host fan-out is parallel. - get
- Make a GET request.
- patch
- Make a PATCH request with a body.
- post
- Make a POST request with a body.
- put
- Make a PUT request with a body.