- Timestamp:
- Jul 31, 2023, 4:06:13 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/API/ExecuteConsoleCommand.cs
r454 r455 1 1 using System; 2 2 using System.Net; 3 using JetBrains.Annotations; 3 4 using Webserver; 4 5 using Webserver.WebAPI; 5 using WebCommandResult = AllocsFixes. NetConnections.Servers.Web.WebCommandResult;6 using WebCommandResult = AllocsFixes.Web.WebCommandResult; 6 7 7 8 namespace AllocsFixes.WebAPIs { 9 [UsedImplicitly] 8 10 public class ExecuteConsoleCommand : AbsWebAPI { 9 11 public override void HandleRequest (RequestContext _context) { … … 16 18 _context.Request.QueryString ["raw"] != null 17 19 ? WebCommandResult.ResultType.Raw 18 : (_context.Request.QueryString ["simple"] != null20 : _context.Request.QueryString ["simple"] != null 19 21 ? WebCommandResult.ResultType.ResultOnly 20 : WebCommandResult.ResultType.Full );22 : WebCommandResult.ResultType.Full; 21 23 22 24 string commandline = _context.Request.QueryString ["command"];
Note:
See TracChangeset
for help on using the changeset viewer.