Skip to main content

Module match_hostname

Module match_hostname 

Source
Expand description

§Match Hostnames

§Priority

PriorityRuleExample
0Exact Hostexample.com
1Partial wildcard*.example.com
2Wild Card*

it would be a tree like this:

com
|
+- example
|  |
|  +- next
|  \- *
|       
\- *

Structs§

HostnameMatcherNode
we don’t neet a radix tree here, because host name won’t be too long
HostnameMatcherNodeIter
HostnameMatcherNodeIterMut
HostnameTree
HostnameTreeIter
HostnameTreeIterMut