Ignore:
Timestamp:
Aug 11, 2021, 6:22:03 PM (3 years ago)
Author:
alloc
Message:

Web:

  • Added SSE (ServerSentEvents) subsystem
  • Added log endpoint to SSE. Less heavy weight and more responsive way of watching the server log
  • Bunch of refactoring
File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/Handlers/PathHandler.cs

    r351 r367  
    33namespace AllocsFixes.NetConnections.Servers.Web.Handlers {
    44        public abstract class PathHandler {
    5                 private readonly string moduleName;
     5                protected readonly string moduleName;
     6                protected string urlBasePath;
     7                protected Web parent;
    68
    79                protected PathHandler (string _moduleName, int _defaultPermissionLevel = 0) {
     
    2426                        return true;
    2527                }
     28
     29                public virtual void Shutdown () {
     30                }
     31
     32                public virtual void SetBasePathAndParent (Web _parent, string _relativePath) {
     33                        parent = _parent;
     34                        urlBasePath = _relativePath;
     35                }
    2636        }
    2737}
Note: See TracChangeset for help on using the changeset viewer.