- Timestamp:
- Jul 21, 2015, 9:51:32 PM (9 years ago)
- Location:
- binary-improvements/MapRendering/Web/Handlers
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Handlers/StaticHandler.cs
r230 r244 5 5 using System.Threading; 6 6 7 namespace AllocsFixes.NetConnections.Servers.Web 7 namespace AllocsFixes.NetConnections.Servers.Web.Handlers 8 8 { 9 9 public class StaticHandler : PathHandler … … 14 14 private bool logMissingFiles; 15 15 16 public StaticHandler (string staticPart, string filePath, AllocsFixes.FileCache.AbstractCache cache, bool logMissingFiles )16 public StaticHandler (string staticPart, string filePath, AllocsFixes.FileCache.AbstractCache cache, bool logMissingFiles, string moduleName = null) : base(moduleName) 17 17 { 18 18 this.staticPart = staticPart; … … 22 22 } 23 23 24 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, HttpListenerBasicIdentity user)24 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) 25 25 { 26 26 string fn = req.Url.AbsolutePath.Remove (0, staticPart.Length);
Note:
See TracChangeset
for help on using the changeset viewer.