diff options
author | Pranav K <prkrishn@hotmail.com> | 2020-03-27 01:21:04 +0300 |
---|---|---|
committer | Pranav K <prkrishn@hotmail.com> | 2020-03-27 01:21:04 +0300 |
commit | 2b1f56df3ee81581a7f3723e9e150b2bbc0cfa92 (patch) | |
tree | 17899caf7e5a5ae9cb69d890c2f2867b44a3db60 | |
parent | e68046d5106aa0349c23f95821456955fc15b96b (diff) |
Update binary-reference-assemblies
-rw-r--r-- | build/monowasm/Makefile | 6 | ||||
-rw-r--r-- | build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll | bin | 0 -> 6656 bytes | |||
-rw-r--r-- | build/monowasm/System.dll | bin | 369664 -> 369152 bytes | |||
-rw-r--r-- | build/monowasm/WebAssembly.Net.Http.dll | bin | 6144 -> 0 bytes | |||
-rw-r--r-- | build/monowasm/mscorlib.dll | bin | 820736 -> 820736 bytes | |||
-rw-r--r-- | src/monowasm/System.Net.Http.WebAssemblyHttpHandler.cs (renamed from src/monowasm/WebAssembly.Net.Http.cs) | 46 | ||||
-rw-r--r-- | src/monowasm/System.Net.Http.WebAssemblyHttpHandler.extra.cs (renamed from src/monowasm/WebAssembly.Net.Http.extra.cs) | 0 |
7 files changed, 27 insertions, 25 deletions
diff --git a/build/monowasm/Makefile b/build/monowasm/Makefile index 8e608e5..443903b 100644 --- a/build/monowasm/Makefile +++ b/build/monowasm/Makefile @@ -5,7 +5,7 @@ CSC ?= csc CSC_COMMON_ARGS := -nologo -noconfig -optimize -nostdlib -unsafe -deterministic -publicsign -debug- -target:library -nowarn:612,618,809 Q_CSC = $(if $(V),,@echo "CSC [$(PROFILE)] $(1)";) -ASSEMBLIES := mscorlib System System.Xml System.Numerics System.Core System.Net.Http WebAssembly.Net.Http WebAssembly.Net.WebSockets +ASSEMBLIES := mscorlib System System.Xml System.Numerics System.Core System.Net.Http System.Net.Http.WebAssemblyHttpHandler WebAssembly.Net.WebSockets ASSEMBLIES += bare/System @@ -16,7 +16,7 @@ System.Net.Http_REFS := mscorlib System System_REFS := mscorlib System.Numerics_REFS := mscorlib System.Xml_REFS := mscorlib System -WebAssembly.Net.Http_REFS := mscorlib System System.Core System.Net.Http +System.Net.Http.WebAssemblyHttpHandler_REFS := mscorlib System System.Core System.Net.Http WebAssembly.Net.WebSockets_REFS := mscorlib System System.Core bare/System_REFS := mscorlib @@ -27,7 +27,7 @@ System_CSC_ARGS := ../../src/mono/System.extra.cs ECMA_KEY := ../../../../mcs/class/ecma.pub # Public Key Token: b77a5c561934e089 ECMA_KEY_ASSEMBLIES := System.Core System.Net.Http System System.Numerics System.Xml mscorlib bare/System -WebAssembly.Net.Http_KEYFILE := ../../../../mcs/class/Open.snk +System.Net.Http.WebAssemblyHttpHandler_KEYFILE := ../../../../mcs/class/Open.snk WebAssembly.Net.WebSockets_KEYFILE := ../../../../mcs/class/Open.snk all: $(addsuffix .dll, $(ASSEMBLIES)) diff --git a/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll b/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll Binary files differnew file mode 100644 index 0000000..53b0595 --- /dev/null +++ b/build/monowasm/System.Net.Http.WebAssemblyHttpHandler.dll diff --git a/build/monowasm/System.dll b/build/monowasm/System.dll Binary files differindex 89590f9..e074597 100644 --- a/build/monowasm/System.dll +++ b/build/monowasm/System.dll diff --git a/build/monowasm/WebAssembly.Net.Http.dll b/build/monowasm/WebAssembly.Net.Http.dll Binary files differdeleted file mode 100644 index 91aa20b..0000000 --- a/build/monowasm/WebAssembly.Net.Http.dll +++ /dev/null diff --git a/build/monowasm/mscorlib.dll b/build/monowasm/mscorlib.dll Binary files differindex 477b92f..b0d068f 100644 --- a/build/monowasm/mscorlib.dll +++ b/build/monowasm/mscorlib.dll diff --git a/src/monowasm/WebAssembly.Net.Http.cs b/src/monowasm/System.Net.Http.WebAssemblyHttpHandler.cs index ef5e404..b7c37e0 100644 --- a/src/monowasm/WebAssembly.Net.Http.cs +++ b/src/monowasm/System.Net.Http.WebAssemblyHttpHandler.cs @@ -1,46 +1,48 @@ [assembly:System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly:System.Diagnostics.DebuggableAttribute(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.DisableOptimizations | System.Diagnostics.DebuggableAttribute.DebuggingModes.EnableEditAndContinue | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] -[assembly:System.Reflection.AssemblyCompanyAttribute("WebAssembly.Net.Http")] +[assembly:System.Reflection.AssemblyCompanyAttribute("System.Net.Http.WebAssemblyHttpHandler")] [assembly:System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly:System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly:System.Reflection.AssemblyProductAttribute("WebAssembly.Net.Http")] -[assembly:System.Reflection.AssemblyTitleAttribute("WebAssembly.Net.Http")] +[assembly:System.Reflection.AssemblyProductAttribute("System.Net.Http.WebAssemblyHttpHandler")] +[assembly:System.Reflection.AssemblyTitleAttribute("System.Net.Http.WebAssemblyHttpHandler")] [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] [assembly:System.Runtime.CompilerServices.InternalsVisibleToAttribute("System.Net.Http, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] [assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName="")] -namespace WebAssembly.Net.Http.HttpClient +namespace System.Net.Http { - public enum FetchCredentialsOption - { - Include = 2, - Omit = 0, - SameOrigin = 1, - } public enum RequestCache { Default = 0, - ForceCache = 4, - NoCache = 3, NoStore = 1, - OnlyIfCached = 5, Reload = 2, + NoCache = 3, + ForceCache = 4, + OnlyIfCached = 5, + } + public enum RequestCredentials + { + Omit = 0, + SameOrigin = 1, + Include = 2, } public enum RequestMode { + SameOrigin = 0, + NoCors = 1, Cors = 2, Navigate = 3, - NoCors = 1, - SameOrigin = 0, } - public partial class WasmHttpMessageHandler : System.Net.Http.HttpMessageHandler + public partial class WebAssemblyHttpHandler : System.Net.Http.HttpMessageHandler { - public WasmHttpMessageHandler() { } - public static WebAssembly.Net.Http.HttpClient.RequestCache Cache { get { throw null; } set { } } - public static WebAssembly.Net.Http.HttpClient.FetchCredentialsOption DefaultCredentials { get { throw null; } set { } } - public static WebAssembly.Net.Http.HttpClient.RequestMode Mode { get { throw null; } set { } } - public static bool StreamingEnabled { get { throw null; } set { } } - public static bool StreamingSupported { get { throw null; } } + public WebAssemblyHttpHandler() { } + public string Integrity { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public System.Net.Http.RequestCache? RequestCache { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public System.Net.Http.RequestCredentials? RequestCredentials { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public System.Net.Http.RequestMode? RequestMode { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public bool StreamingEnabled { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } } + public static bool StreamingSupported { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } } + [System.Diagnostics.DebuggerStepThroughAttribute] protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; } } } diff --git a/src/monowasm/WebAssembly.Net.Http.extra.cs b/src/monowasm/System.Net.Http.WebAssemblyHttpHandler.extra.cs index 445338a..445338a 100644 --- a/src/monowasm/WebAssembly.Net.Http.extra.cs +++ b/src/monowasm/System.Net.Http.WebAssemblyHttpHandler.extra.cs |