Declaration
public UrlHook(
string pathOrDomain,
bool useDomain,
bool specific = false,
Protocols protocols = Protocols.All
)Summary
Initializes a new
UrlHook.
Parameters
| string | pathOrDomain |
Specifies the path or the domain this hook shall apply to. |
| bool | useDomain |
Specifies whether pathOrDomain is a path or a domain. |
| bool | specific |
If false, the hook applies to all subpaths/subdomains of the path/domain specified by pathOrDomain. Otherwise it applies to the specific path/domain only. |
| Protocols | protocols |
Specifies the protocol(s) to hook to. Default is all supported protocols. |