Quantcast
Viewing all articles
Browse latest Browse all 4827

Is there a public `recognize` method anywhere on the router?

@samselikoff wrote:

I stumbled across this part of RFC 95:

New Method: URL recognition

recognize(url)

Takes a string URL and returns a RouteInfo for the leafmost route represented by the URL. Returns null if the URL is not recognized. This method expects to receive the actual URL as seen by the browser including the app’s rootURL .

I was wondering if this ever became public API anywhere? Snooping around and it doesn’t seem like it but it was documented in the RFC which was merged, so trying to clarify my understanding here. (Usually the RFC doc is updated with the actual work done correct? Or is it more of a sign-off on the design?)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4827

Trending Articles