libradixtree
APISIX using libradixtree as route dispatching library.
This is Lua-Openresty implementation library base on FFI for rax.
1. Full match
It will only match .
2. Prefix matching
It will match the path with the prefix /blog/bar
, eg: /blog/bar/a
, /blog/bar/b
, , /blog/bar
etc.
3. Match priority
Here are the rules:
Please take a look at radixtree-new, here is an simple example: