public Middleware(Action <Req, Res, Middleware> action, Middleware next) { this.action = action; this.NextMiddleware = next; }
public void setMiddleware(Middleware value) { this.last = value; }
public async void Exec(Req req, Res res, Middleware middle) { System.Console.WriteLine("1 middleware"); middle.Next(req, res); }