request ignorer methods
LOCALHOST_ALIASES
A constant with values: 'localhost', '127.0.0.1', and '0.0.0.0'
ignored_hosts
vector of ignored host URI's
new()
Create a new RequestIgnorer
object
RequestIgnorer$new()
A new RequestIgnorer
object
ignore_request()
Will ignore any request for which the given function
returns TRUE
RequestIgnorer$ignore_request()
no return; defines request ignorer hook
ignore_localhost()
ignore all localhost values (localhost, 127.0.0.1, 0.0.0.0)
RequestIgnorer$ignore_localhost()
no return; sets to ignore all localhost aliases
ignore_localhost_value()
ignore a specific named localhost
RequestIgnorer$ignore_localhost_value(value)
value
(character) A localhost value to ignore, e.g., 'localhost'
no return; defines request ignorer hook
ignore_hosts()
ignore any named host
RequestIgnorer$ignore_hosts(hosts)
hosts
(character) vector of hosts to ignore
no return; adds host to ignore
should_be_ignored()
method to determine whether to ignore a request
RequestIgnorer$should_be_ignored(request)
request
request to ignore
no return; defines request ignorer hook
clone()
The objects of this class are cloneable with this method.
RequestIgnorer$clone(deep = FALSE)
deep
Whether to make a deep clone.