Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="next"></param>
 public PayStationWebSocketMiddleware(RequestDelegate next
                                      , PayStationWebSocketConnectionMgr wsconnMgr
                                      , PayStationWebSocketHandler wsHandler
                                      , IConfiguration configuration)
 {
     _next      = next;
     _wsconnMgr = wsconnMgr;
     _wsHandler = wsHandler;
     socketStationTimeoutSeconds = Convert.ToInt32(configuration.GetSection("QRPay:socketStationTimeoutSeconds").Value);
 }
Example #2
0
 public PayStationWebSocketHandler(PayStationWebSocketConnectionMgr wsconnMgr)
 {
     this._wsconnMgr = wsconnMgr;
 }