/// <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); }
public PayStationWebSocketHandler(PayStationWebSocketConnectionMgr wsconnMgr) { this._wsconnMgr = wsconnMgr; }