source: binary-improvements2/WebServer/src/RequestContext.cs@ 400

Last change on this file since 400 was 391, checked in by alloc, 2 years ago

Major refactoring/cleanup

File size: 628 bytes
RevLine 
[391]1using SpaceWizards.HttpListener;
2
3namespace Webserver {
4 public class RequestContext {
5 public string RequestPath;
6 public readonly HttpListenerRequest Request;
7 public readonly HttpListenerResponse Response;
8 public readonly WebConnection Connection;
9 public readonly int PermissionLevel;
10
11 public RequestContext (string _requestPath, HttpListenerRequest _request, HttpListenerResponse _response, WebConnection _connection, int _permissionLevel) {
12 RequestPath = _requestPath;
13 Request = _request;
14 Response = _response;
15 Connection = _connection;
16 PermissionLevel = _permissionLevel;
17 }
18 }
19}
Note: See TracBrowser for help on using the repository browser.