Component · version 0.2.2
componentized:sample-http-incrementor
Sample component that exposes wasi:http incrementing a counter based on the http path.
InstallCLIACP
Add this component to your project:
component install componentized:sample-http-incrementor@0.2.2Learn more about the component CLI.
Run this component without installing it:
component run componentized:sample-http-incrementor@0.2.2Learn more about the component CLI.
Ask your AI assistant to install it for you:
componentized:sample-http-incrementor@0.2.2Read more about Agent Client Protocol support.
Imports
I
wasi:keyvalue/store 0.2.0-draft2
IA keyvalue interface that provides eventually consistent key-value operations.
wasi:keyvalue/atomics 0.2.0-draft2
IA keyvalue interface that provides atomic operations.
wasi:io/error 0.2.6
Iwasi:io/streams 0.2.6
IWASI I/O is an I/O abstraction API which is currently focused on providing
stream types.
wasi:http/types 0.2.6
This 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.
Components
Metadata
| Size | 68.9 KiB |
| Range | 0x0000–0x011391 |
| Languages | Rust |
| Version | 0.1.0 |
| Processed By | wit-componentv0.227.1 |
| Processed By | cargo-componentv0.21.1 |