소스 검색

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)