示例#1
0
文件: Server.cs 项目: ikvm/webmatrix
 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)
     {
     }
 }
示例#2
0
 public Connection(Host host, Socket socket)
 {
     this._host = host;
     this._socket = socket;
 }
示例#3
0
文件: Request.cs 项目: ikvm/webmatrix
 public Request(Host host, Connection connection)
     : base(string.Empty, string.Empty, null)
 {
     this._host = host;
     this._connection = connection;
 }