/// <summary> /// Creates a new Liara Engine for applications. /// </summary> /// <param name="next" /> /// <param name="configuration"></param> public LiaraMiddleware(AppFunc next, LiaraConfiguration configuration = null) { if (configuration == null) configuration = new LiaraConfiguration(); engine = new LiaraEngine(configuration); this.next = next; }
/// <summary> /// Creates a new Liara Engine for applications. /// </summary> /// <param name="next" /> /// <param name="configuration"></param> public LiaraMiddleware(AppFunc next, LiaraConfiguration configuration = null) { if (configuration == null) { configuration = new LiaraConfiguration(); } engine = new LiaraEngine(configuration); this.next = next; }