Interface: Selector
@divine/uri.Selector
A set of rules that must all match a given URL or authentication parameters for it to be valid or active.
Properties
authRealm
• Optional
authRealm: string
| RegExp
A filter for the required authentication realm. The matching score is 1.
Defined in
authScheme
• Optional
authScheme: string
| RegExp
A filter for the required authentication scheme. The matching score is 2.
Defined in
hostname
• Optional
hostname: string
| RegExp
A filter for the required URL host. The matching score is 32.
Defined in
pathname
• Optional
pathname: string
| RegExp
A filter for the required URL path. The matching score is 8.
Defined in
port
• Optional
port: string
| number
| RegExp
A filter for the required URL port. The matching score is 16.
Defined in
protocol
• Optional
protocol: string
| RegExp
A filter for the required URL protocol. The matching score is 4.
Defined in
uri
• Optional
uri: string
| RegExp
A filter for the required URL (all-in-one filter). The matching score is 64.