Skip to content

Commit

Permalink
begin route matching docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BK1031 committed Aug 27, 2024
1 parent 5dbca06 commit aaef29b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,15 @@ San Francisco: /users [GET,POST,DELETE]
### Route Matching
Internally, Rincon computes a route graph to help it match a requested route against its registered routes. This is a simple directed acyclic graph where nodes are route paths and edges are slugs needed to get to the next route path. Nodes also contain information about which services and methods can be handled at that route path.
As an example, let's say we have the following route registrations.
```
New York: /users
New York: /users/*
San Francsico: /users/*/notifications
```
### Example
Expand Down

0 comments on commit aaef29b

Please sign in to comment.