Files
linux-packaging-mono/external/binary-reference-assemblies/src/monowasm/WebAssembly.Net.Http.cs
Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

47 lines
2.7 KiB
C#

[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.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.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
{
public enum FetchCredentialsOption
{
Include = 2,
Omit = 0,
SameOrigin = 1,
}
public enum RequestCache
{
Default = 0,
ForceCache = 4,
NoCache = 3,
NoStore = 1,
OnlyIfCached = 5,
Reload = 2,
}
public enum RequestMode
{
Cors = 2,
Navigate = 3,
NoCors = 1,
SameOrigin = 0,
}
public partial class WasmHttpMessageHandler : 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; } }
protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw null; }
}
}