diff options
author | Pranav K <prkrishn@hotmail.com> | 2020-04-08 12:42:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-08 12:42:03 +0300 |
commit | a0d69a4e876834412ba676f544d447ec331e7c01 (patch) | |
tree | f42367be56630cb380fdfacabba1c7e997deea50 /mcs | |
parent | 1386af607166a181b31e269aed9c6b1cb031cae9 (diff) |
Produce System.Net.Http.WebAssemblyHttpHandler (#19260)
* Produce System.Net.Http.WebAssemblyMessageHandler
* Branding changes for WebAssembly.Net.Http -> System.Net.Http.WebAssemblyMessageHandler
* Change how fetch options are configured
* Fixup tests
* More fixup
* Update submodule
Diffstat (limited to 'mcs')
4 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/System.Net.Http/Makefile b/mcs/class/System.Net.Http/Makefile index 9e56625a14d..fd869b28bc1 100644 --- a/mcs/class/System.Net.Http/Makefile +++ b/mcs/class/System.Net.Http/Makefile @@ -38,7 +38,7 @@ LIB_MCS_FLAGS += -d:XAMARIN_MODERN endif ifeq (wasm,$(PROFILE)) -API_BIN_REFS := WebAssembly.Net.Http +API_BIN_REFS := System.Net.Http.WebAssemblyHttpHandler endif TEST_LIB_REFS = System System.Core diff --git a/mcs/class/System.Net.Http/System.Net.Http.csproj b/mcs/class/System.Net.Http/System.Net.Http.csproj index 554e2d19150..38ebec3fbf3 100644 --- a/mcs/class/System.Net.Http/System.Net.Http.csproj +++ b/mcs/class/System.Net.Http/System.Net.Http.csproj @@ -1407,9 +1407,9 @@ </Reference> </ItemGroup> <ItemGroup Condition=" '$(Platform)' == 'wasm' "> - <Reference Include="./../../../external/binary-reference-assemblies/build/monowasm/WebAssembly.Net.Http.dll"> + <Reference Include="./../../../external/binary-reference-assemblies/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll"> <SpecificVersion>False</SpecificVersion> - <HintPath>./../../../external/binary-reference-assemblies/build/monowasm/WebAssembly.Net.Http.dll</HintPath> + <HintPath>./../../../external/binary-reference-assemblies/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll</HintPath> <Private>False</Private> </Reference> </ItemGroup> diff --git a/mcs/class/System.Net.Http/System.Net.Http/HttpClient.wasm.cs b/mcs/class/System.Net.Http/System.Net.Http/HttpClient.wasm.cs index e98dc08a7e2..73200a85986 100644 --- a/mcs/class/System.Net.Http/System.Net.Http/HttpClient.wasm.cs +++ b/mcs/class/System.Net.Http/System.Net.Http/HttpClient.wasm.cs @@ -2,6 +2,6 @@ namespace System.Net.Http { public partial class HttpClient { - static HttpMessageHandler CreateDefaultHandler () => new WebAssembly.Net.Http.HttpClient.WasmHttpMessageHandler (); + static HttpMessageHandler CreateDefaultHandler () => new System.Net.Http.WebAssemblyHttpHandler (); } } diff --git a/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.wasm.cs b/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.wasm.cs index 20196dbdf61..6dbdea177a8 100644 --- a/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.wasm.cs +++ b/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.wasm.cs @@ -13,11 +13,11 @@ namespace System.Net.Http { public class HttpClientHandler : HttpMessageHandler { - WebAssembly.Net.Http.HttpClient.WasmHttpMessageHandler wasmHandler; + System.Net.Http.WebAssemblyHttpHandler wasmHandler; public HttpClientHandler () { - wasmHandler = new WebAssembly.Net.Http.HttpClient.WasmHttpMessageHandler (); + wasmHandler = new System.Net.Http.WebAssemblyHttpHandler (); } protected override void Dispose (bool disposing) |