public override Task <WebSocket> AcceptWebSocketAsync(WebSocketAcceptContext acceptContext)
 {
     if (WebSocketFeature == null)
     {
         throw new NotSupportedException("WebSockets are not supported");
     }
     return(WebSocketFeature.AcceptAsync(acceptContext));
 }
Example #2
0
 public Task <WebSocket> AcceptAsync(WebSocketAcceptContext context)
 {
     throw new NotImplementedException();
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="acceptContext"></param>
 /// <returns></returns>
 public virtual Task <WebSocket> AcceptWebSocketAsync(WebSocketAcceptContext acceptContext) => throw new NotImplementedException();