- 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/SimpleRedirectHandler.cs
r230 r244 2 2 using System.Net; 3 3 4 namespace AllocsFixes.NetConnections.Servers.Web 4 namespace AllocsFixes.NetConnections.Servers.Web.Handlers 5 5 { 6 6 public class SimpleRedirectHandler : PathHandler … … 8 8 string target; 9 9 10 public SimpleRedirectHandler (string target )10 public SimpleRedirectHandler (string target, string moduleName = null) : base(moduleName) 11 11 { 12 12 this.target = target; 13 13 } 14 14 15 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, HttpListenerBasicIdentity user)15 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) 16 16 { 17 17 resp.Redirect (target);
Note:
See TracChangeset
for help on using the changeset viewer.