Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: UrlHook(string, int?, string, bool, bool, Protocols)

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

stringdomain 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.
stringpath 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.
boolspecificDomain If false, the hook applies to all subdomains of the domain specified by domain. Otherwise it applies to the specific domain only.
boolspecificPath If false, the hook applies to all subpaths of the path specified by path. Otherwise it applies to the specific path only.
Protocolsprotocols Specifies the protocol(s) to hook to. Default is all supported protocols.