Beispiel #1
0
 public BasicServerInfo(HttpServerInfo serverInfo)
 {
     RootPath = serverInfo.Root;
     Domain   = serverInfo.Domains;
     UseSsl   = serverInfo.UseSsl;
     Hosts    = serverInfo.Hosts;
 }
Beispiel #2
0
 public HtcHttpContext(HttpContext context, HttpServerInfo serverInfo)
 {
     Request             = new HttpRequestContext(context.Request);
     Response            = new HttpResponseContext(context.Response);
     Connection          = new HttpConnectionContext(context.Connection);
     ServerInfo          = new BasicServerInfo(serverInfo);
     ErrorMessageManager = serverInfo.ErrorMessageManager;
 }