public Form1() { InitializeComponent(); FormClosing += Form1_FormClosing; Logger.Init("./", 1024); Logger.Log(LogType.Info, "---==Server woke up==---"); httpServer.AddRequestHandler(new ImageRotFlipHandler()); httpServer.StartListenAsync("http://localhost:8080/"); }