keeps track of HTTP requests
Public fields
request_signatures
a HashCounter object
Methods
print method for the RequestRegistry
class
Usage
RequestRegistry$print(x, ...)
Method reset()
Reset the registry to no registered requests
Returns
nothing returned; resets registry to no requests
Method register_request()
Register a request
Usage
RequestRegistry$register_request(request)
Arguments
request
a character string of the request, serialized from
a RequestSignature$new(...)$to_s()
Returns
nothing returned; registers the request
Method times_executed()
How many times has a request been made
Usage
RequestRegistry$times_executed(request_pattern)
Arguments
request_pattern
an object of class RequestPattern
Details
if no match is found for the request pattern, 0 is returned
Returns
integer, the number of times the request has been made
Method clone()
The objects of this class are cloneable with this method.
Usage
RequestRegistry$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.