Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/reference-assemblies.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Pouncey <kjpou@pt.lu>2019-12-03 21:02:52 +0300
committerMarek Safar <marek.safar@gmail.com>2019-12-03 21:02:52 +0300
commit22e20c12c6e36e3d7c608d26fbe07a68fccef43b (patch)
tree86d04b593ab6c8846cf80ee9a3783efe1c96ea50 /build/monowasm/WebAssembly.Net.WebSockets.cs
parent20704e7005d976ed3bd99983696a08428cf5376c (diff)
[wasm][reference] Add support for WebAssembly.Net.WebSockets assembly (#23)
* [was][reference] Add support for WebAssembly.Net.WebSockets assembly * Cleanup space and remove unused reference * Add clean target * Modify System InternalsVisibleToAttribute for WebAssembly.Net.WebSockets
Diffstat (limited to 'build/monowasm/WebAssembly.Net.WebSockets.cs')
-rw-r--r--build/monowasm/WebAssembly.Net.WebSockets.cs48
1 files changed, 48 insertions, 0 deletions
diff --git a/build/monowasm/WebAssembly.Net.WebSockets.cs b/build/monowasm/WebAssembly.Net.WebSockets.cs
new file mode 100644
index 0000000..14ccac3
--- /dev/null
+++ b/build/monowasm/WebAssembly.Net.WebSockets.cs
@@ -0,0 +1,48 @@
+[assembly:System.Reflection.AssemblyVersionAttribute("0.2.2.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.WebSockets")]
+[assembly:System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly:System.Reflection.AssemblyFileVersionAttribute("0.2.2.0")]
+[assembly:System.Reflection.AssemblyInformationalVersionAttribute("0.2.2")]
+[assembly:System.Reflection.AssemblyProductAttribute("WebAssembly.Net.WebSockets")]
+[assembly:System.Reflection.AssemblyTitleAttribute("WebAssembly.Net.WebSockets")]
+[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
+[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
+[assembly:System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName="")]
+namespace WebAssembly.Net.WebSockets
+{
+ public sealed partial class ClientWebSocket : System.Net.WebSockets.WebSocket
+ {
+ public ClientWebSocket() { }
+ public override System.Nullable<System.Net.WebSockets.WebSocketCloseStatus> CloseStatus { get { throw null; } }
+ public override string CloseStatusDescription { get { throw null; } }
+ public WebAssembly.Net.WebSockets.ClientWebSocket.ClientWebSocketOptions Options { get { throw null; } }
+ public override System.Net.WebSockets.WebSocketState State { get { throw null; } }
+ public override string SubProtocol { get { throw null; } }
+ public override void Abort() { }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public override System.Threading.Tasks.Task CloseAsync(System.Net.WebSockets.WebSocketCloseStatus closeStatus, string statusDescription, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override System.Threading.Tasks.Task CloseOutputAsync(System.Net.WebSockets.WebSocketCloseStatus closeStatus, string statusDescription, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public System.Threading.Tasks.Task ConnectAsync(System.Uri uri, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public override void Dispose() { }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public override System.Threading.Tasks.Task<System.Net.WebSockets.WebSocketReceiveResult> ReceiveAsync(System.ArraySegment<byte> buffer, System.Threading.CancellationToken cancellationToken) { throw null; }
+ [System.Diagnostics.DebuggerStepThroughAttribute]
+ public override System.Threading.Tasks.Task SendAsync(System.ArraySegment<byte> buffer, System.Net.WebSockets.WebSocketMessageType messageType, bool endOfMessage, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public sealed partial class ClientWebSocketOptions
+ {
+ internal ClientWebSocketOptions() { }
+ public System.Security.Cryptography.X509Certificates.X509CertificateCollection ClientCertificates { get { throw null; } set { } }
+ public System.Net.CookieContainer Cookies { get { throw null; } set { } }
+ public System.Net.ICredentials Credentials { get { throw null; } set { } }
+ public System.TimeSpan KeepAliveInterval { get { throw null; } set { } }
+ public System.Net.IWebProxy Proxy { get { throw null; } set { } }
+ public System.Net.Security.RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get { throw null; } set { } }
+ public bool UseDefaultCredentials { get { throw null; } set { } }
+ public void AddSubProtocol(string subProtocol) { }
+ public void SetBuffer(int receiveBufferSize, int sendBufferSize) { }
+ public void SetBuffer(int receiveBufferSize, int sendBufferSize, System.ArraySegment<byte> buffer) { }
+ public void SetRequestHeader(string headerName, string headerValue) { }
+ }
+ }
+}