IProxyStateLookup.GetRoutes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates all current routes. This is thread safe but the collection may change mid-enumeration if the configuration is reloaded.
public System.Collections.Generic.IEnumerable<Yarp.ReverseProxy.Model.RouteModel> GetRoutes();
abstract member GetRoutes : unit -> seq<Yarp.ReverseProxy.Model.RouteModel>
Public Function GetRoutes () As IEnumerable(Of RouteModel)