From 38669444b45b4a36806382f0858381d6794216ba Mon Sep 17 00:00:00 2001 From: sta Date: Fri, 17 Jul 2015 16:58:42 +0900 Subject: [PATCH] Modified a bit for Program.cs --- Example3/Program.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Example3/Program.cs b/Example3/Program.cs index d5ebcf9f..ea2bf248 100644 --- a/Example3/Program.cs +++ b/Example3/Program.cs @@ -14,13 +14,15 @@ namespace Example3 { /* Create a new instance of the HttpServer class. * - * If you would like to provide the secure connection, you should create the instance - * with the 'secure' parameter set to true. + * If you would like to provide the secure connection, you should create the instance with + * the 'secure' parameter set to true, or the https scheme HTTP URL. */ var httpsv = new HttpServer (4649); //var httpsv = new HttpServer (5963, true); //var httpsv = new HttpServer (System.Net.IPAddress.Parse ("127.0.0.1"), 4649); //var httpsv = new HttpServer (System.Net.IPAddress.Parse ("127.0.0.1"), 5963, true); + //var httpsv = new HttpServer ("http://localhost:4649"); + //var httpsv = new HttpServer ("https://localhost:5963"); #if DEBUG // To change the logging level. httpsv.Log.Level = LogLevel.Trace;