IProxyStateLookup.GetRoutes Method

Definition

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)

Returns

Applies to