An open API service indexing awesome lists of open source software.

https://github.com/wasm-outbound-http-examples/rust

Make HTTP requests from inside WASM in Rust. Demo and devcontainer.
https://github.com/wasm-outbound-http-examples/rust

http-client http-request macroquad quad-net rust-lang wasm webassembly

Last synced: about 1 month ago
JSON representation

Make HTTP requests from inside WASM in Rust. Demo and devcontainer.

Awesome Lists containing this project

README

          

# Make HTTP requests from inside WASM in Rust

This devcontainer is configured to provide you a latest stable version of Rust toolset.

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/wasm-outbound-http-examples/rust)

### Browser / JS runtime Examples

#
Example
Description
Browser demo

1

[quad-net](browser-quad-net/README.md)

Use `quad-net` plugin for Miniquad to send HTTP requests from web browser.

[Demo](https://wasm-outbound-http-examples.github.io/rust/quad-net/)

### WASI / Standalone / Server-side Examples

#
Example
Description
Compatibility

1

[waki](wasi-waki/README.md)

Use `waki` WASI HTTP library to send HTTP requests from Wasmtime.

WASI Preview 2 / WASI 0.2

2

[`wstd::http::Client`](wasi-wstd/README.md)

Use `wstd` WASI "stdlib" to send HTTP requests from Wasmtime.

WASI Preview 2 / WASI 0.2

3

[`wstd::net::TcpStream`](wasip2-sockets-wstd/README.md)

Use "raw" wasip2 sockets and `wstd`'s `TcpStream` to send HTTP requests from Wasmtime.

WASI Preview 2 / WASI 0.2

Created for (wannabe-awesome) [list](https://github.com/vasilev/HTTP-request-from-inside-WASM)