[][src]Module wascc_host::host

Structs

Invocation
InvocationResponse
ROUTER
TERMINATORS

Functions

add_actor

Adds an actor module to the runtime host. The identity of this module is determined by inspecting the claims embedded in the module's custom section as a JWT. The identity comes from the subject field on the embedded claims and is the primary key of the module identity.

add_capability

Adds a portable capability provider wasm module to the runtime host. The identity of this provider will be determined by examining the capability attestation in this actor's embedded token.

add_middleware
add_native_capability

Adds a native linux dynamic library (plugin) as a capability provider to the runtime host. The identity and other metadata about this provider is determined by loading the plugin from disk and invoking the appropriate plugin trait methods.

configure

Supply a set of key-value pairs for a given actor to a capability provider. This allows the capability provider to set actor-specific data like an HTTP server port or a set of subscriptions, etc.

remove_actor

Removes an actor from the host. Stops the thread managing the actor and notifies all capability providers to free up any associated resources being used by the actor

remove_capability

Removes a portable capability provider from the host.

remove_native_capabiltiy

Removes a native capability provider from the host.

set_auth_hook