package extism

  1. Overview
  2. Docs

Module Plugin.CompiledSource

Sourcetype t
Sourceval free : t -> unit
Sourceval create : ?wasi:bool -> ?functions:Function.t list -> string -> (t, Error.t) result

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

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

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

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

Make a new compiled plugin from a Manifest

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

Make a new compiled plugin from a Manifest

OCaml

Innovation. Community. Security.