- Timestamp:
- Jan 19, 2019, 6:12:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetWebUIUpdates.cs
r325 r351 5 5 namespace AllocsFixes.NetConnections.Servers.Web.API { 6 6 public class GetWebUIUpdates : WebAPI { 7 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnectionuser,8 int permissionLevel) {7 public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user, 8 int _permissionLevel) { 9 9 int latestLine; 10 if ( req.QueryString ["latestLine"] == null ||11 !int.TryParse ( req.QueryString ["latestLine"], out latestLine)) {10 if (_req.QueryString ["latestLine"] == null || 11 !int.TryParse (_req.QueryString ["latestLine"], out latestLine)) { 12 12 latestLine = 0; 13 13 } … … 27 27 result.Add ("newlogs", new JSONNumber (LogBuffer.Instance.LatestLine - latestLine)); 28 28 29 WriteJSON ( resp, result);29 WriteJSON (_resp, result); 30 30 } 31 31
Note:
See TracChangeset
for help on using the changeset viewer.