public Request(Server server, Host host, Connection connection) : base(String.Empty, String.Empty, null) { Server = server; Host = host; Connection = connection; ProcessorChain = RequestProcessorChainBuilder.Current.Build(); }
// called at the end of request processing // to disconnect the remoting proxy for Connection object // and allow GC to pick it up public void OnRequestEnd(Connection conn) { RemotingServices.Disconnect(conn); }