浏览代码

Added a comment for RestListener.Init

Kenric Nugteren 2 年之前
父节点
当前提交
87f710d00c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      InABox.Server/Rest/RestListener.cs

+ 4 - 0
InABox.Server/Rest/RestListener.cs

@@ -551,6 +551,10 @@ namespace InABox.API
             certificate = null;
         }
 
+        /// <summary>
+        /// Initialise rest listener, and set up web socket port if non-zero.
+        /// </summary>
+        /// <param name="webSocketPort">The web-socket port to use, or 0 for no websocket.</param>
         public static void Init(int webSocketPort)
         {
             if(webSocketPort != 0)