componentized/directory

componentized:valkey-sample-http-incrementor

component dev

Sample component that exposes `wasi:http` incrementing a counter based on the http path.

Imports

Exports

WIT

package root:component;

world root {
  import wasmcloud:keyvalue/types@0.2.0;
  import wasmcloud:keyvalue/store@0.2.0;
  import wasmcloud:keyvalue/atomics@0.2.0;
  import wasi:http/types@0.3.0;

  export wasi:http/handler@0.3.0;
}