Beispiel #1
0
        /// <summary>
        ///   Ensures the web server is running.
        /// </summary>
        private void Run()
        {
            using (WebAdminServer listener = new WebAdminServer(_port))
            {
                listener.IncomingRequest += HandlePath;
                listener.Start();

                _stopWaiter.WaitOne();
            }
        }
Beispiel #2
0
        /// <summary>
        /// Ensures the web server is running.
        /// </summary>
        private void Run()
        {
            using (WebAdminServer listener = new WebAdminServer(this.fPortNumber))
            {
                listener.IncomingRequest += HandlePath;
                listener.Start();

                this.fStopWaiter.WaitOne();
            }
        }
Beispiel #3
0
        /// <summary>
        ///   Ensures the web server is running.
        /// </summary>
        private void Run()
        {
            using (WebAdminServer listener = new WebAdminServer(_port))
            {
                listener.IncomingRequest += HandlePath;
                listener.Start();

                _stopWaiter.WaitOne();
            }
        }