예제 #1
0
 public PayQrWebSocketHandler(PayQrWebSocketConnectionMgr wsconnMgr, IConfiguration configuration, IHostingEnvironment hostingEnvironment)
 {
     this._wsconnMgr = wsconnMgr;
     _configuration  = configuration;
     TimeOutSeconds  = Convert.ToInt32(configuration.GetSection("QRPay:Timeout").Value);
     _hostEnvi       = hostingEnvironment;
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="next"></param>
 public PayQrWebSocketMiddleware(RequestDelegate next, PayQrWebSocketConnectionMgr wsconnMgr, PayQrWebSocketHandler wsHandler)
 {
     _next      = next;
     _wsconnMgr = wsconnMgr;
     _wsHandler = wsHandler;
 }