public WebSocketConnection(WebSocketHandler handler)
 {
     Handler = handler;
 }
示例#2
0
 public WebSocketMiddleware(RequestDelegate next, WebSocketHandler webSocketHandler)
 {
     _next             = next;
     _webSocketHandler = webSocketHandler;
 }