Class MapOptions
- Namespace
- Phoesion.Glow.SDK.Firefly.Middleware
- Assembly
- Phoesion.Glow.SDK.Firefly.Abstractions.dll
Options for the app.Map(..) middleware
public class MapOptions
- Inheritance
-
objectMapOptions
Properties
Branch
The branch taken for a positive match.
public IGlowApplication Branch { get; set; }
Property Value
PathMatch
The path to match.
public string PathMatch { get; set; }
Property Value
PathMatchEndsWithSlash
public bool PathMatchEndsWithSlash { get; }
Property Value
PathMatchRegEx
public Regex PathMatchRegEx { get; }
Property Value
PreserveMatchedPathSegment
If false, matched path would be removed from Request.Path and added to Request.PathBase Defaults to false.
public bool PreserveMatchedPathSegment { get; set; }