Ipop.SocialVPN.HttpInterface.HttpInterface C# (CSharp) Method

HttpInterface() public method

public HttpInterface ( string port ) : System
port string
return System
    public HttpInterface(string port) {
      _listener = new HttpListener();
      _listener.Prefixes.Add("http://127.0.0.1:" + port + "/");
      _runner = new Thread(Run);
      _runner.IsBackground = true;
      _running = false;
      _port = port;
    }