class

Detector::Specification::Yarp

Inherits Detector < Reference < Object

Constants

CODE_MARKER = /\bnew\s+RouteMatch\b|\bYarp\.ReverseProxy\.Configuration\b/

RouteConfig alone is also ASP.NET MVC's route-registration class; RouteMatch and the configuration namespace are YARP's.

JSON_MARKER = /"ReverseProxy"/

Instance methods

applicable?(filename : String) : Bool

Registers YARP (Yarp.ReverseProxy) route config in CodeLocator: the ReverseProxy section of appsettings*.json (or any JSON config file), and C# files that build RouteConfigs in code.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers YARP (Yarp.ReverseProxy) route config in CodeLocator: the ReverseProxy section of appsettings*.json (or any JSON config file), and C# files that build RouteConfigs in code.

Source
name

Registers YARP (Yarp.ReverseProxy) route config in CodeLocator: the ReverseProxy section of appsettings*.json (or any JSON config file), and C# files that build RouteConfigs in code.

Source