예제 #1
0
        public OnDemandServer(Socket socket)
        {
            backend = new GenericServer <ConnectionProxy> (socket, this);
            var fakeBackend = new FakeGenericServer <ConnectionProxy> (backend);

            server = new Mono.FastCgi.Server(fakeBackend);
        }
예제 #2
0
        public OnDemandServer(Socket socket)
        {
            if (socket == null)
            {
                throw new ArgumentNullException("socket");
            }
            backend = new GenericServer <ConnectionProxy> (socket, this);
            var fakeBackend = new FakeGenericServer <ConnectionProxy> (backend);

            server = new Mono.FastCgi.Server(fakeBackend);
        }