using SpaceWizards.HttpListener; namespace Webserver { public class RequestContext { public string RequestPath; public readonly HttpListenerRequest Request; public readonly HttpListenerResponse Response; public readonly WebConnection Connection; public readonly int PermissionLevel; public RequestContext (string _requestPath, HttpListenerRequest _request, HttpListenerResponse _response, WebConnection _connection, int _permissionLevel) { RequestPath = _requestPath; Request = _request; Response = _response; Connection = _connection; PermissionLevel = _permissionLevel; } } }