示例#1
0
        static void Main(string[] args)
        {
            var bodyProcessors = new List <Type> {
                typeof(InsertCreditCardNumbersIntoOutboundRequests)
            };

            var proxy = new ReallySimpleProxyHost(args, "ReallySimplePci.OutboundProxy");

            proxy.Host("localhost", 44466, bodyProcessors, new List <Type> {
                typeof(LogIncomingRequests)
            });
        }
示例#2
0
        static void Main(string[] args)
        {
            var proxy = new ReallySimpleProxyHost(args, "ReallySimpleProxy.Host");

            proxy.Host("localhost", 12345);
        }