handle method
Future<WASIPreview2HttpResponseOutparam>
handle(
- WasmComponent component,
- WASIPreview2HttpIncomingRequest request
Instantiates component and invokes its exported incoming handler for
request.
Implementation
Future<WASIPreview2HttpResponseOutparam> handle(
WasmComponent component,
WASIPreview2HttpIncomingRequest request,
) {
return WASIComponentNativeRuntime.preview2(
component: component,
host: host,
).handleProxy(request);
}