Example #1
0
        public Server(ushort port, string path)
        {
            RouteBuilder routeBuilder = new RouteBuilder();
            List <Route> routes       = routeBuilder.BuildRoute(Assembly.GetExecutingAssembly());

            this.path  = path;
            httpServer = new HttpServer(port, routes, path);
        }