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

Last change on this file since 364 was 351, checked in by alloc, 6 years ago

Fixed game version compatibility of GamePrefs
Code style cleanup (mostly argument names)

File size: 449 bytes
Line 
1using System.Net;
2using System.Text;
3
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;
11 _resp.OutputStream.Write (new byte[] { }, 0, 0);
12 }
13 }
14}
Note: See TracBrowser for help on using the repository browser.