Merge pull request #3591 from directhex/mono_libdir_fallback
[mono.git] / mcs / class / System / System.Net / HttpListenerContext.cs
index cd0ef417b68d24fec6ae23bad7a388f2b75400b3..5a3a2f0f445be565d7b01433dce630f5c6d7cccb 100644 (file)
@@ -32,6 +32,9 @@ using System.Collections.Specialized;
 using System.IO;
 using System.Security.Principal;
 using System.Text;
+using System.Threading.Tasks;
+using System.Net.WebSockets;
+
 namespace System.Net {
        public sealed class HttpListenerContext {
                HttpListenerRequest request;
@@ -133,6 +136,30 @@ namespace System.Net {
                                return null;
                        } 
                }
+
+               [MonoTODO]
+               public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol, TimeSpan keepAliveInterval)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval)
+               {
+                       throw new NotImplementedException ();
+               }
+
+               [MonoTODO]
+               public Task<HttpListenerWebSocketContext> AcceptWebSocketAsync (string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval, ArraySegment<byte> internalBuffer)
+               {
+                       throw new NotImplementedException ();
+               }
        }
 }
 #endif