WASIPreview2ProxyRunner class final
Executes WASI Preview2 wasi:http/proxy components on the native backend.
Constructors
- WASIPreview2ProxyRunner(WASIPreview2ComponentHost host)
-
Creates a proxy runner over
host.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → WASIPreview2ComponentHost
-
Preview2 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, WASIPreview2HttpIncomingRequest request) → Future< WASIPreview2HttpResponseOutparam> -
Instantiates
componentand invokes its exported incoming 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