Ignore:
Timestamp:
Aug 6, 2022, 11:32:32 PM (2 years ago)
Author:
alloc
Message:

Big refactoring in Web to pass around a Context instead of a bunch of individual arguments all the time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/MapRendering/Web/Handlers/AbsHandler.cs

    r383 r387  
    1 using HttpListenerRequest = SpaceWizards.HttpListener.HttpListenerRequest;
    2 using HttpListenerResponse = SpaceWizards.HttpListener.HttpListenerResponse;
    3 
    41namespace AllocsFixes.NetConnections.Servers.Web.Handlers {
    52        public abstract class AbsHandler {
     
    1613                }
    1714
    18                 public abstract void HandleRequest (string _requestPath, HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _con,
    19                         int _permissionLevel);
     15                public abstract void HandleRequest (RequestContext _context);
    2016
    2117                public virtual bool IsAuthorizedForHandler (WebConnection _user, int _permissionLevel) {
Note: See TracChangeset for help on using the changeset viewer.