Daoting / dt

利用 C# + XAML 进行快速业务开发的跨平台框架(搬运工)
https://github.com/daoting/dt
54 stars 12 forks source link

是否可以参考Uno,修正 WASM下HttpClient BaseRpc.Wasm.HttpClient #80

Closed sunl158 closed 1 year ago

sunl158 commented 1 year ago

static BaseRpc()

elif WASM

        _client = new HttpClient();

endif

Uno.UI.Wasm.WasmHttpHandler handler=new Uno.UI.Wasm.WasmHttpHandler(); using (handler) using (var client = new HttpClient(handler)) 经测试是可以的

Daoting commented 1 year ago

WasmHttpHandler没有实质功能