Expand description
Reverse proxy with HTTP routing for containers and Wasm trigger dispatch.
Routes HTTP traffic by Host header to container backends (round-robin),
and by path pattern to Wasm component invocations via a callback.
Structs§
- Route
Target - A backend target for container routing.
- Wasm
Trigger - A Wasm HTTP trigger: maps a path pattern to a Wasm runtime instance.
Functions§
- run_
proxy - Run the reverse proxy on the given port.
Type Aliases§
- Shared
Wasm Triggers - Shared Wasm trigger table type.
- Wasm
Invoke Future - Future type returned by the Wasm invoker.
- Wasm
Invoker - Callback invoked when a request matches a Wasm trigger. Receives (runtime_id, method, path, body) and returns the response body string.