Beispiel #1
0
		public MvcContext(HttpRequest request, Settings settings, Sessions sessions)
		{
			this.sessions = sessions;
			var route = Route.Parse(request.Url, settings);
			this.Route = route;
			this.Request = request;	
			this.Settings = this.Settings;
		}
Beispiel #2
0
		public AppServer(Settings settings)
		{
			this.settings = settings;
			this.sessions = new Sessions(settings);
			this.Init();
		}