Skip to main content

Module host

Module host 

Source
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§

ArchiveId
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