Exemplo n.º 1
0
        static void Main(string[] args)
        {
            //Starting web server
            FitBitWebServer ws = new FitBitWebServer(SendResponse, "http://localhost:8080/test/");

            ws.Start();

            //Stoping web server - after key is pressed
            Console.WriteLine("A simple web server. To stop server, press any key!");
            Console.ReadKey();
            ws.Stop();
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            //Starting web server
            FitBitWebServer ws = new FitBitWebServer(SendResponse, "http://localhost:8080/test/");
            ws.Start();

            //Stoping web server - after key is pressed
            Console.WriteLine("A simple web server. To stop server, press any key!");
            Console.ReadKey();
            ws.Stop();
        }