Changeset 387 for binary-improvements2/MapRendering/Web/API/GetWebMods.cs
- Timestamp:
- Aug 6, 2022, 11:32:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/Web/API/GetWebMods.cs
r384 r387 1 1 using AllocsFixes.JSON; 2 using HttpListenerRequest = SpaceWizards.HttpListener.HttpListenerRequest;3 using HttpListenerResponse = SpaceWizards.HttpListener.HttpListenerResponse;4 2 5 3 namespace AllocsFixes.NetConnections.Servers.Web.API { 6 public class GetWebMods : WebAPI {4 public class GetWebMods : AbsWebAPI { 7 5 private readonly JSONArray loadedWebMods = new JSONArray (); 8 6 … … 27 25 } 28 26 29 public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user, 30 int _permissionLevel) { 31 32 WriteJSON (_resp, loadedWebMods); 27 public override void HandleRequest (RequestContext _context) { 28 WebUtils.WriteJson (_context.Response, loadedWebMods); 33 29 } 34 30
Note:
See TracChangeset
for help on using the changeset viewer.