package extism

  1. Overview
  2. Docs
type t
val free : t -> unit
val create : ?wasi:bool -> ?functions:Function.t list -> string -> (t, Error.t) result

Make a new compiled plugin from raw WebAssembly or JSON encoded manifest

val create_exn : ?wasi:bool -> ?functions:Function.t list -> string -> t

Make a new compiled plugin from raw WebAssembly or JSON encoded manifest

val of_manifest : ?wasi:bool -> ?functions:Function.t list -> Manifest.t -> (t, Error.t) result

Make a new compiled plugin from a Manifest

val of_manifest_exn : ?wasi:bool -> ?functions:Function.t list -> Manifest.t -> t

Make a new compiled plugin from a Manifest

OCaml

Innovation. Community. Security.