ALE.Http.Routing.Handler C# (CSharp) Method

Handler() public static method

public static Handler ( IContext context, System.Action next ) : void
context IContext
next System.Action
return void
        public static void Handler(IContext context, Action next)
        {
            foreach (var route in Routes)
            {
                if (route.TryExecute(context, next))
                {
                    break;
                }
            }
        }