Available on crate feature
component-model-async only.Expand description
Provides utilities useful for dispatching incoming HTTP requests
wasi:http/handler guest instances.
Modules§
- p2
- Alternative p2 bindings generated with
exports: { default: async | store }so we can useTypedFunc::call_concurrentwith both p2 and p3 instances.
Structs§
- Proxy
Handler - Represents the state of a web server.
- Store
Bundle - Bundles a
Storewith a callback to write a profile (if configured).
Enums§
- Proxy
- Represents either a
wasi:http/incoming-handler@0.2.xorwasi:http/handler@0.3.xinstance. - Proxy
Pre - Represents either a
wasi:http/incoming-handler@0.2.xorwasi:http/handler@0.3.xpre-instance.
Traits§
- Handler
State - Represents the application-specific state of a web server.
Type Aliases§
- TaskFn
- Represents a task to run using a
wasi:http/incoming-handler@0.2.xorwasi:http/handler@0.3.xinstance.