Expand description
Host service traits for capability-gated plugin host functions.
uni.kms.* and uni.http.* host functions need a backing host service to
perform real work. These traits define that seam in the shared uni-plugin
crate so every loader (Rhai today; Extism / WASM at the host-fn cutover)
binds the same abstraction rather than each inventing its own. The host
supplies concrete implementations (e.g. a reqwest-backed HttpEgress in
uni-plugin-host) and hands them to the loader.
Secret acquisition has no trait here — it reuses
crate::secrets::SecretStore directly.
Structs§
- Http
Response - Response returned by an
HttpEgressrequest.
Traits§
- Http
Egress - A blocking HTTP egress service backing the
uni.http.*host functions. - KmsProvider
- A signing / verification service backing the
uni.kms.*host functions.