Changeset 454 for binary-improvements/MapRendering/API/GetServerInfo.cs
- Timestamp:
- Jul 28, 2023, 8:42:10 PM (16 months ago)
- Location:
- binary-improvements/MapRendering/API
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/API/GetServerInfo.cs
r453 r454 1 1 using System; 2 using System.Net;3 2 using AllocsFixes.JSON; 3 using Webserver; 4 using Webserver.WebAPI; 4 5 5 namespace AllocsFixes.NetConnections.Servers.Web.API { 6 public class GetServerInfo : WebAPI { 7 public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user, 8 int _permissionLevel) { 6 namespace AllocsFixes.WebAPIs { 7 public class GetServerInfo : AbsWebAPI { 8 public override void HandleRequest (RequestContext _context) { 9 9 JSONObject serverInfo = new JSONObject (); 10 10 … … 42 42 43 43 44 WriteJSON (_resp, serverInfo);44 LegacyApiHelper.WriteJSON (_context.Response, serverInfo); 45 45 } 46 46 }
Note:
See TracChangeset
for help on using the changeset viewer.