WASIPreview3ServiceRunner class final
Executes WASI Preview3 wasi:http/service components on the native backend.
Constructors
- WASIPreview3ServiceRunner(WASIPreview3ComponentHost host)
-
Creates an HTTP service runner over
host.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → WASIPreview3ComponentHost
-
Preview3 host used for standard WASI imports and canonical state.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handle(
WasmComponent component, WASIPreview3HttpRequest request) → Future< WASIPreview3HttpResult< WASIPreview3HttpResponse> > -
Instantiates
componentand invokes its exported async HTTP handler forrequest. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited