Rev | Line | |
---|
[383] | 1 | using System.Text;
|
---|
[382] | 2 | using HttpListenerRequest = SpaceWizards.HttpListener.HttpListenerRequest;
|
---|
| 3 | using HttpListenerResponse = SpaceWizards.HttpListener.HttpListenerResponse;
|
---|
[251] | 4 |
|
---|
[325] | 5 | namespace AllocsFixes.NetConnections.Servers.Web.API {
|
---|
| 6 | public class Null : WebAPI {
|
---|
[367] | 7 | public Null (string _name) : base(_name) {
|
---|
| 8 | }
|
---|
| 9 |
|
---|
[351] | 10 | public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user,
|
---|
| 11 | int _permissionLevel) {
|
---|
| 12 | _resp.ContentLength64 = 0;
|
---|
| 13 | _resp.ContentType = "text/plain";
|
---|
| 14 | _resp.ContentEncoding = Encoding.ASCII;
|
---|
| 15 | _resp.OutputStream.Write (new byte[] { }, 0, 0);
|
---|
[325] | 16 | }
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.