Expand description
Safe wrappers around the host functions imported via Extism’s
host_fn! block. Plugin code calls these instead of touching
extism-pdk directly.
Structs§
- Archive
Id - Opaque archive handle. The plugin streams bytes via
hm_archive_read(id, offset, max).
Functions§
- archive_
read - archive_
total_ size - browser_
open - emit_
event - emit_
step_ log - fs_
read_ config - keyring_
delete - keyring_
get - keyring_
set - kv_get
- kv_set
- log
- Log a diagnostic line into the host’s tracing subscriber.
- loopback_
recv - should_
cancel - socket_
close - socket_
read - socket_
write - spawn_
loopback - tty_
confirm - tty_
prompt - unix_
socket_ connect - write_
stderr - write_
stdout