Expand description
Experimental Rust SDK for WASIp3 HTTP.
Modules§
- body
- Helpers for consuming an
wasip3::http_compat::IncomingBody.
Enums§
- Error
- The error type used for HTTP operations within the WASI environment.
Traits§
- From
Request - A trait for constructing a value from a
wasip3::http::types::Request. - From
Response - A trait for constructing a value from a
wasip3::http::types::Response. - Into
Request - A trait for any type that can be converted into a
wasip3::http::types::Request. - Into
Response - A trait for any type that can be converted into a
wasip3::http::types::Response.
Functions§
- send
- Sends an HTTP request and returns the corresponding
wasip3::http::types::Response.
Type Aliases§
- Empty
Body - A body type representing an empty payload.
- Full
Body - A body type representing a complete, in-memory payload.
- Request
- A type alias for an HTTP request with a customizable body type.
- Response
- A type alias for an HTTP response with a customizable body type.
- Result
- A alias for
std::result::Resultthat usesErroras the default error type.