wit-component 0.17.0

Tooling for working with `*.wit` and component files together.
Documentation
// The `wasi:http/proxy` world captures a widely-implementable intersection of
// hosts that includes HTTP forward and reverse proxies. Components targeting
// this world may concurrently stream in and out any number of incoming and
// outgoing HTTP requests.
world proxy {
  // HTTP proxies have access to time and randomness.
  import wasi:random/random;
  // TODO: add `import wall-clock: clocks.wall-clock`
  // TODO: add `import monotonic-clock: clocks.monotonic-clock`

  // This is the default logging handler to use when user code simply wants to
  // log to a developer-facing console (e.g., via `console.log()`).
  import wasi:logging/handler;

  // This is the default handler to use when user code simply wants to make an
  // HTTP request (e.g., via `fetch()`).
  import outgoing-handler;

  // The host delivers incoming HTTP requests to a component by calling the
  // `handle` function of this exported interface. A host may arbitrarily reuse
  // or not reuse component instance when delivering incoming HTTP requests and
  // thus a component must be able to handle 0..N calls to `handle`.
  export incoming-handler;
}