-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: add more example about how to use the router radixtree-uri #3987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| $ curl http://127.0.0.1:9080/hello -H 'host: test.com' | ||
| 1981 | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some concise descriptions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
docs/en/latest/router-radixtree.md
Outdated
| When different routes have the same uri, you can set the priority field of the route to determine which route to match first, or add other matching rules to distinguish different routes. | ||
|
|
||
| Note: In matching rules, the `priority` field takes precedence over other rules. Therefore, we can set other matching rules only when the value of the `priority` field is the same. | ||
| Note: In matching rules, the `priority` field takes precedence over other rules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should mention that the other rules don't include the uri rule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
close #3873
What this PR does / why we need it:
Pre-submission checklist: