Changeset 401 for binary-improvements2/WebServer
- Timestamp:
 - Aug 14, 2022, 8:53:31 PM (3 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
binary-improvements2/WebServer/src/WebAPI/GetAllowedCommands.cs
r391 r401 14 14 } 15 15 16 JsonArray cmdOverloads = new JsonArray (); 17 16 18 string cmd = string.Empty; 17 19 foreach (string s in cc.GetCommands ()) { 20 cmdOverloads.Add (new JsonString (s)); 18 21 if (s.Length > cmd.Length) { 19 22 cmd = s; … … 23 26 JsonObject cmdObj = new JsonObject (); 24 27 cmdObj.Add ("command", new JsonString (cmd)); 28 cmdObj.Add ("overloads", cmdOverloads); 25 29 cmdObj.Add ("description", new JsonString (cc.GetDescription ())); 26 30 cmdObj.Add ("help", new JsonString (cc.GetHelp ()));  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)