Component · version 0.3.0-dev_debug
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.3.0-dev_debugLearn more about the component CLI.
Run this component without installing it:
component run componentized:sample-http-incrementor@0.3.0-dev_debugLearn more about the component CLI.
Ask your AI assistant to install it for you:
componentized:sample-http-incrementor@0.3.0-dev_debugRead 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 | 146.3 KiB |
| Range | 0x0000–0x02492C |
| Processed By | wit-componentv0.259.0 |