WasiHttpClient.fromHandler constructor
WasiHttpClient.fromHandler({
- required Handler handler,
- required Types types,
Creates a WasiHttpClient that routes requests directly to an in-process
or composed wasi:http/handler Handler without going over the network.
Implementation
WasiHttpClient.fromHandler({required Handler handler, required Types types})
: this._(_HandlerAsClient(handler), types);