method BlockList.prototype.addRange
BlockList.prototype.addRange(): voidDeprecated
Adds a rule to block a range of IP addresses from start (inclusive) toend (inclusive).
optional
type: IPVersion = 'ipv4'Either 'ipv4' or 'ipv6'.
voidBlockList.prototype.addRange(start: SocketAddress,end: SocketAddress,): voidDeprecated
start: SocketAddressend: SocketAddressvoid