deislabs / wasi-experimental-http

Experimental outbound HTTP support for WebAssembly and WASI
MIT License
136 stars 33 forks source link

Add TinyGo client implementation #89

Closed radu-matei closed 2 years ago

radu-matei commented 2 years ago

It would be really great if TinyGo modules could make outbound HTTP requests.

radu-matei commented 2 years ago

This is implemented in Spin using bindings to WIT interfaces, which is going to be the way forward for WebAssembly components.

https://github.com/fermyon/spin/blob/151d126ad02b8b346005edd2815751b9ddcc2908/sdk/go/http/http.go#L24-L43