Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Extism.Plugin
SourcePlugins
contain functions that can be called
val create :
?config:Manifest.config ->
?wasi:bool ->
?functions:Function.t list ->
?context:Context.t ->
string ->
(t, Error.t) result
Make a new plugin from raw WebAssembly or JSON encoded manifest
val of_manifest :
?wasi:bool ->
?functions:Function.t list ->
?context:Context.t ->
Manifest.t ->
(t, Error.t) result
Make a new plugin from a Manifest
val update :
t ->
?config:(string * string option) list ->
?wasi:bool ->
?functions:Function.t list ->
string ->
(unit, [ `Msg of string ]) result
Update a plugin from raw WebAssembly or JSON encoded manifest
Update a plugin from a Manifest
Call a function, uses Bigstringaf.t
for input/output
Call a function, uses string
for input/output