Exemplo n.º 1
0
 public NarutoWebSocketMiddleware(RequestDelegate _next, ILogger <NarutoWebSocketMiddleware> _logger, IWebSocketOptionFactory _socketOptionFactory, IServiceProvider _serviceProvider)
 {
     next   = _next;
     logger = _logger;
     socketOptionFactory = _socketOptionFactory;
     serviceProvider     = _serviceProvider;
 }
Exemplo n.º 2
0
 public MessageReviceHandler(IWebSocketOptionFactory _webSocketOptionFactory, ILogger <MessageReviceHandler> _Logger)
 {
     webSocketOptionFactory = _webSocketOptionFactory;
     Logger = _Logger;
 }