Example #1
0
        static void Main(string[] args)
        {
            Console.Title = "Client A";

            var serverAddress = "http://localhost:10000/";
            var clientAddress = "http://localhost:11111/";

            _ipcServer = new WebApiServer(serverAddress);
            _ipcServer.StartListening();

            _ipcClient = new WebApiClient(clientAddress, "api/values");

            ClientSendRequest();

            Console.ReadLine();

            _ipcServer.Dispose();
            _ipcClient.Dispose();
        }