source:
binary-improvements/MapRendering/Web/API/Null.cs@
364
Last change on this file since 364 was 351, checked in by , 6 years ago | |
---|---|
File size: 449 bytes |
Line | |
---|---|
1 | using System.Net; |
2 | using System.Text; |
3 | |
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) { |
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.