Changeset 325 for binary-improvements/MapRendering/Web/API/Null.cs
- Timestamp:
- Sep 4, 2018, 1:00:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/Null.cs
r251 r325 1 using AllocsFixes.JSON; 2 using System; 3 using System.Collections.Generic; 4 using System.Net; 1 using System.Net; 5 2 using System.Text; 6 3 7 namespace AllocsFixes.NetConnections.Servers.Web.API 8 { 9 public class Null : WebAPI 10 { 11 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) 12 { 4 namespace AllocsFixes.NetConnections.Servers.Web.API { 5 public class Null : WebAPI { 6 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, 7 int permissionLevel) { 13 8 resp.ContentLength64 = 0; 14 9 resp.ContentType = "text/plain"; 15 10 resp.ContentEncoding = Encoding.ASCII; 16 11 resp.OutputStream.Write (new byte[] { }, 0, 0); 17 18 12 } 13 } 19 14 }
Note:
See TracChangeset
for help on using the changeset viewer.