source: binary-improvements/MapRendering/Web/API/Null.cs@ 332

Last change on this file since 332 was 325, checked in by alloc, 6 years ago

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

File size: 441 bytes
RevLine 
[325]1using System.Net;
[251]2using System.Text;
3
[325]4namespace AllocsFixes.NetConnections.Servers.Web.API {
5 public class Null : WebAPI {
6 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user,
7 int permissionLevel) {
8 resp.ContentLength64 = 0;
9 resp.ContentType = "text/plain";
10 resp.ContentEncoding = Encoding.ASCII;
[251]11 resp.OutputStream.Write (new byte[] { }, 0, 0);
[325]12 }
13 }
14}
Note: See TracBrowser for help on using the repository browser.