Skip to main content

Crate http_wasm_guest

Crate http_wasm_guest 

Source
Expand description

HTTP WebAssembly guest library for building http-wasm plugins.

This crate exposes a guest-facing API for inspecting and mutating HTTP requests and responses within a host runtime. Implement Guest and call register to wire up your plugin entry points.

Modules§

host
Host interface for requests, responses, logging, and feature management. Host-side API surface for HTTP request/response interaction.

Structs§

HostLogger
Logger implementation that forwards records to the host.
HostLoggerConfig
Configuration for HostLogger.

Traits§

Guest
Trait implemented by guest plugins to handle HTTP requests and responses.

Functions§

register
Register a guest plugin implementation with the runtime.