Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Extism.PluginSourcePlugins contain functions that can be called
val create :
?config:Manifest.config ->
?wasi:bool ->
?functions:Function.t list ->
string ->
(t, Error.t) resultMake a new plugin from raw WebAssembly or JSON encoded manifest
val create_exn :
?config:Manifest.config ->
?wasi:bool ->
?functions:Function.t list ->
string ->
tMake a new plugin from raw WebAssembly or JSON encoded manifest
val of_manifest :
?wasi:bool ->
?functions:Function.t list ->
Manifest.t ->
(t, Error.t) resultMake a new plugin from a Manifest
Make a new plugin from a Manifest
Call a function, uses Bigstringaf.t for input/output
Similar to call_bigstring but raises an exception using Error.unwrap
Call a function, uses string for input/output
Similar to call_string but raises an exception using Error.unwrap
val call :
(module Type.S with type t = 'a) ->
(module Type.S with type t = 'b) ->
t ->
name:string ->
'a ->
('b, Error.t) resultcall input_type output_type t ~name input executes a function with input and output types defined in Type
val call_exn :
(module Type.S with type t = 'a) ->
(module Type.S with type t = 'b) ->
t ->
name:string ->
'a ->
'bSimilar to call but raises an exception using Error.unwrap
Free a plugin immediately, this isn't normally required unless there are a lot of plugins open at once
Get the Cancel_handle.t