method BlockList.prototype.addAddress
BlockList.prototype.addAddress(address: string,type?: IPVersion,): voidDeprecated
Adds a rule to block the given IP address.
optional
type: IPVersion = 'ipv4'Either 'ipv4' or 'ipv6'.
voidBlockList.prototype.addAddress(address: string,type?: IPVersion,): voidAdds a rule to block the given IP address.
type: IPVersion = 'ipv4'Either 'ipv4' or 'ipv6'.
void