Fix a few

This commit is contained in:
sta 2014-01-04 04:09:23 +09:00
parent 54be7d0168
commit b054784489

View File

@ -20,8 +20,6 @@ namespace Example3
_httpsv.Log.Level = LogLevel.TRACE; _httpsv.Log.Level = LogLevel.TRACE;
#endif #endif
_httpsv.RootPath = ConfigurationManager.AppSettings ["RootPath"];
/* Secure Connection /* Secure Connection
var cert = ConfigurationManager.AppSettings ["ServerCertFile"]; var cert = ConfigurationManager.AppSettings ["ServerCertFile"];
var password = ConfigurationManager.AppSettings ["CertFilePassword"]; var password = ConfigurationManager.AppSettings ["CertFilePassword"];
@ -41,6 +39,8 @@ namespace Example3
//_httpsv.KeepClean = false; //_httpsv.KeepClean = false;
_httpsv.RootPath = ConfigurationManager.AppSettings ["RootPath"];
_httpsv.OnGet += (sender, e) => onGet (e); _httpsv.OnGet += (sender, e) => onGet (e);
_httpsv.AddWebSocketService<Echo> ("/Echo"); _httpsv.AddWebSocketService<Echo> ("/Echo");