Component · version 0.1.6
ba:sample-wasi-http-rust
A sample WASI HTTP component written in Rust
InstallCLIACP
Add this component to your project:
component install ba:sample-wasi-http-rust@0.1.6Learn more about the component CLI.
Run this component without installing it:
component run ba:sample-wasi-http-rust@0.1.6Learn more about the component CLI.
Ask your AI assistant to install it for you:
ba:sample-wasi-http-rust@0.1.6Read more about Agent Client Protocol support.
Imports
I
wasi:io/poll 0.2.3
IA poll API intended to let users wait for I/O events on multiple handles
at once.
wasi:clocks/monotonic-clock 0.2.3
IWASI Monotonic Clock is a clock API intended to let users measure elapsed
time.
wasi:io/error 0.2.3
Iwasi:io/streams 0.2.3
IWASI I/O is an I/O abstraction API which is currently focused on providing
stream types.
wasi:http/types 0.2.3
IThis interface defines all of the types and methods for implementing
HTTP Requests and Responses, both incoming and outgoing, as well as
their headers, trailers, and bodies.
wasi:random/random 0.2.0
IWASI Random is a random data API.
wasi:io/error 0.2.0
Iwasi:io/streams 0.2.0
IWASI I/O is an I/O abstraction API which is currently focused on providing
stream types.
wasi:cli/stdout 0.2.0
Iwasi:cli/stderr 0.2.0
Iwasi:cli/stdin 0.2.0
Components
Metadata
| Size | 238.8 KiB |
| Range | 0x0000–0x03BB5C |
| Processed By | wit-componentv0.215.0 |
| Processed By | cargo-componentv0.16.0 |