Exemplo n.º 1
0
 public WebsocketMiddleware(RequestDelegate next, IMarketStreamingFaced marketFaced, ILoggerFactory loggerFactory)
 {
     this.next          = next;
     this.marketFaced   = marketFaced;
     this.loggerFactory = loggerFactory;
     logger             = loggerFactory.CreateLogger <WebsocketMiddleware>();
 }
 public UserChannelNotificationWS(string id, WebSocket webSocket, IMarketStreamingFaced marketFaced, ILogger <UserChannelNotificationWS> logger)
 {
     this.id          = id;
     this.webSocket   = webSocket;
     this.marketFaced = marketFaced;
     this.logger      = logger;
 }