Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 432 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 432 Bytes

Experimental HTTP Client Example

NB: this example uses an experimental wasmtime-http that incorporates a highly experimental HTTP client library that is not yet part of the WASI specification. Use at your own risk, things are likely to change drastically in the future.

Building

tinygo build -target=wasi -o main.wasm -tags purego

Running

wasmtime --wasi-modules=experimental-wasi-http main.wasm