1 unstable release

0.1.0 Nov 12, 2025

#1550 in WebAssembly

Download history 98/week @ 2025-11-07 245/week @ 2025-11-14 181/week @ 2025-11-21 137/week @ 2025-11-28 379/week @ 2025-12-05 172/week @ 2025-12-12 127/week @ 2025-12-19 35/week @ 2026-01-02 189/week @ 2026-01-09

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