using AllocsFixes.JSON; using System; using System.Collections.Generic; using System.Net; using System.Text; namespace AllocsFixes.NetConnections.Servers.Web.API { public class Null : WebAPI { public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) { resp.ContentLength64 = 0; resp.ContentType = "text/plain"; resp.ContentEncoding = Encoding.ASCII; resp.OutputStream.Write (new byte[] { }, 0, 0); } } }