Ignore:
Timestamp:
Sep 4, 2018, 1:00:48 PM (6 years ago)
Author:
alloc
Message:

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

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;
     1using System.Net;
    52using System.Text;
    63
    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         {
     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) {
    138                        resp.ContentLength64 = 0;
    149                        resp.ContentType = "text/plain";
    1510                        resp.ContentEncoding = Encoding.ASCII;
    1611                        resp.OutputStream.Write (new byte[] { }, 0, 0);
    17         }
    18     }
     12                }
     13        }
    1914}
Note: See TracChangeset for help on using the changeset viewer.