private void CreateHost() { try { this._host = (Host) ApplicationHost.CreateApplicationHost(typeof(Host), this._virtualPath, this._physicalPath); this._host.Configure(this, this._port, this._virtualPath, this._physicalPath, this._clientScriptPath); } catch (Exception ex) { } }
public Connection(Host host, Socket socket) { this._host = host; this._socket = socket; }
public Request(Host host, Connection connection) : base(string.Empty, string.Empty, null) { this._host = host; this._connection = connection; }