Example #1
0
        public ApiHttpClientTests()
        {
            _Server = new ApiServer(12345)
            {
                Log = XTrace.Log,
                //EncoderLog = XTrace.Log,
            };
            _Server.Start();

            _Client = new ApiHttpClient();
            _Client.Add("addr1", new Uri("http://127.0.0.1:12345"));
        }