Last change
on this file since 352 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
|
Rev | Line | |
---|
[325] | 1 | using System.Net;
|
---|
[251] | 2 | using System.Text;
|
---|
| 3 |
|
---|
[325] | 4 | namespace AllocsFixes.NetConnections.Servers.Web.API {
|
---|
| 5 | public class Null : WebAPI {
|
---|
[351] | 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);
|
---|
[325] | 12 | }
|
---|
| 13 | }
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.