public TwitchActionsWebSocketMiddleware(
     RequestDelegate next,
     TwitchActionsWebSocketManager wsMgr,
     IOptions <FitzyConfig> options)
 {
     _next   = next;
     _wsMgr  = wsMgr;
     _config = options.Value;
 }
Example #2
0
 public TwitchWebhooksController(
     TwitchWebSocketManager wsMgr,
     TwitchActionsWebSocketManager fitzyWsMgr,
     IOptions <TwitchConfig> twitchOptions,
     VbContext context,
     IMemoryCache cache,
     ILogger <TwitchWebhooksController> logger)
 {
     _wsMgr        = wsMgr;
     _fitzyWsMgr   = fitzyWsMgr;
     _twitchConfig = twitchOptions.Value;
     _context      = context;
     _cache        = cache;
     _logger       = logger;
 }
Example #3
0
 public TwitchActionsController(TwitchActionsWebSocketManager wsMgr, ILogger <TwitchActionsController> logger)
 {
     _wsMgr  = wsMgr;
     _logger = logger;
 }