-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add convenience overloads for Plugin.Call and HostFunction.SetN…
…amespace (#32) - add a (string -> string) overload for Plugin.Call - add a (string -> JSON) overload for Plugin.Call - add a (JSON -> JSON) overload for Plugin.Call - Add a `WithNamespace` function on HostFunction to make it easier to work with Fixes #26
- Loading branch information
1 parent
582e67c
commit 7e95913
Showing
5 changed files
with
114 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
## Example 1 | ||
|
||
This example shows how you can use the library in the most basic way. | ||
It loads up the sample wasm plugin and lets you to pass inputs to it and show the ouput. | ||
**Please note that on Windows you have to manually copy the `extism.dll` file to the ouput directory.** | ||
It loads up the sample wasm plugin and lets you to pass inputs to it and show the ouput. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters