Thanks to visit codestin.com
Credit goes to lib.rs

1 unstable release

0.1.0 Nov 12, 2025

#1550 in WebAssembly

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

353 downloads per month

Apache-2.0

125KB
3K SLoC

golem-wasi-http

An HTTP client library that uses WASI HTTP (WebAssembly System Interface) as its backend.

The library provides a convenient API for making HTTP requests from WASM components. It supports both async and synchronous operations, with optional support for JSON and multipart forms.

Originally started as a fork of the reqwest library but diverged significantly and dropped all the non WASI-HTTP backends.

Features

  • Async and blocking Clients
  • Plain bodies, JSON, form data, and multipart support
  • Custom request/response body handling

Optional Features

The following are a list of [Cargo features][cargo-features] that can be enabled or disabled:

  • async: Async client API using the wstd crate
  • json: Provides serialization and deserialization for JSON bodies.
  • multipart: Provides functionality for multipart forms.

golem-wasi-http

crates.io Documentation Apache-2 licensed

Started as a fork of reqwest to add a WASI-HTTP backend, now it only contains this new backend, having a similar but not fully compatible API to the original.

To be used in Golem components, or any other WASM environment that provides the WASI HTTP 0.2 host API.

Dependencies

~6.5–9MB
~216K SLoC