Expand description
Wasmtime’s implementation of wasi:http
This crate is organized similarly to wasmtime_wasi where there is a
top-level p2 and p3 module corresponding to the implementation for
WASIp2 and WASIp3.
Modules§
- handler
component-model-async - Provides utilities useful for dispatching incoming HTTP requests
wasi:http/handlerguest instances. - io
- I/O utility for bridging between
tokio::ioandhyper::rt. - p2
p2 - Wasmtime’s WASI HTTPp2 Implementation
- p3
p3 - Experimental, unstable and incomplete implementation of wasip3 version of
wasi:http.
Structs§
- Field
Map - A wrapper around [
http::HeaderMap] which implementswasi:httpsemantics. - Wasi
Http Ctx - Capture the state necessary for use in the wasi-http API implementation.
Enums§
- Field
MapError - Errors that can happen when mutating/operating on a
FieldMap.
Constants§
- DEFAULT_
FORBIDDEN_ HEADERS - Set of [http::header::HeaderName], that are forbidden by default for requests and responses originating in the guest.