CheevoService.HTTPServer.HTTPServer C# (CSharp) Method

HTTPServer() public method

public HTTPServer ( int port ) : System
port int
return System
        public HTTPServer(int port)
        {
            string prefix = string.Format("http://{0}:{1}/", Settings.Default.AddressToListenOn, port);

            httpListener = new HttpListener();
            httpListener.Prefixes.Add(prefix);
        }