Dota2GSI.GameStateListener.GameStateListener C# (CSharp) Method

GameStateListener() public method

A GameStateListener that listens for connections on http://localhost:port/
public GameStateListener ( int Port ) : System
Port int
return System
        public GameStateListener(int Port)
        {
            connection_port = Port;
            net_Listener = new HttpListener();
            net_Listener.Prefixes.Add("http://localhost:" + Port + "/");
        }

Same methods

GameStateListener::GameStateListener ( string URI ) : System