Declaration
public UrlHook(
string domain = null,
int? port = null,
string path = null,
bool specificDomain = false,
bool specificPath = false,
Protocols protocols = Protocols.All
)
Summary
Initializes a new
UrlHook.
Parameters
string | domain |
If null , the hook applies to all domain names. Otherwise, the hook applies to this domain and all
subdomains or to this domain only, depending on the value of specificDomain. |
int? | port |
If null , the hook applies to all ports; otherwise to the specified port only. |
string | path |
If null , the hook applies to all URL paths. Otherwise, the hook applies to this path and all subpaths
or to this path only, depending on the value of specificPath. |
bool | specificDomain |
If false , the hook applies to all subdomains of the domain specified by domain.
Otherwise it applies to the specific domain only. |
bool | specificPath |
If false , the hook applies to all subpaths of the path specified by path. Otherwise
it applies to the specific path only. |
Protocols | protocols |
Specifies the protocol(s) to hook to. Default is all supported protocols. |