Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc.PCHCServer.Start C# (CSharp) Method

Start() public method

Start the http server process to listen and receive and http request.
public Start ( ) : void
return void
        public void Start()
        {
            if (this.httpServerTransport.RunState != State.Started)
            {
                this.httpServerTransport.StartHttpServer();

                if (this.logger != null)
                {
                    this.logger.AddInfo("The http server process is started.");
                }

                return;
            }
            else
            {
                if (this.logger != null)
                {
                    this.logger.AddInfo("The http server process is already started.");
                }
            }
        }