Method GetRouteFromPath
GetRouteFromPath(RouteMethod, string)
Gets the first matched Route by their HTTP method and path.
public Route? GetRouteFromPath(RouteMethod method, string uri)
Parameters
method
RouteMethodThe HTTP method to match.
uri
stringThe URL expression.
Returns
GetRouteFromPath(string)
Gets the first matched Route by their URL path.
public Route? GetRouteFromPath(string uri)
Parameters
uri
stringThe URL expression.