- Timestamp:
- Aug 1, 2022, 12:54:31 PM (2 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/Web/Handlers/AbsHandler.cs
r381 r382 1 1 using System.Net; 2 using HttpListenerRequest = SpaceWizards.HttpListener.HttpListenerRequest; 3 using HttpListenerResponse = SpaceWizards.HttpListener.HttpListenerResponse; 2 4 3 5 namespace AllocsFixes.NetConnections.Servers.Web.Handlers { 4 public abstract class PathHandler {6 public abstract class AbsHandler { 5 7 protected readonly string moduleName; 6 8 protected string urlBasePath; 7 9 protected Web parent; 8 10 9 protected PathHandler (string _moduleName, int _defaultPermissionLevel = 0) { 11 public string ModuleName => moduleName; 12 public string UrlBasePath => urlBasePath; 13 14 protected AbsHandler (string _moduleName, int _defaultPermissionLevel = 0) { 10 15 moduleName = _moduleName; 11 16 WebPermissions.Instance.AddKnownModule (_moduleName, _defaultPermissionLevel); 12 17 } 13 18 14 public string ModuleName => moduleName; 15 16 public abstract void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user, 19 public abstract void HandleRequest (string _requestPath, HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _con, 17 20 int _permissionLevel); 18 21
Note:
See TracChangeset
for help on using the changeset viewer.