|
|
|
@ -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");
|
|
|
|
|