- Timestamp:
- Sep 4, 2018, 1:00:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetWebUIUpdates.cs
r313 r325 1 using System.Net; 1 2 using AllocsFixes.JSON; 2 3 using AllocsFixes.LiveData; 3 using AllocsFixes.PersistentData;4 using System;5 using System.Collections.Generic;6 using System.Net;7 4 8 namespace AllocsFixes.NetConnections.Servers.Web.API 9 { 5 namespace AllocsFixes.NetConnections.Servers.Web.API { 10 6 public class GetWebUIUpdates : WebAPI { 11 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) { 7 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, 8 int permissionLevel) { 12 9 int latestLine; 13 if (req.QueryString ["latestLine"] == null || !int.TryParse (req.QueryString ["latestLine"], out latestLine)) { 10 if (req.QueryString ["latestLine"] == null || 11 !int.TryParse (req.QueryString ["latestLine"], out latestLine)) { 14 12 latestLine = 0; 15 13 } … … 37 35 } 38 36 } 39
Note:
See TracChangeset
for help on using the changeset viewer.