powered by
RequestMatcherRegistry class
matcher name
function that describes a matcher, should return a single boolean
two Request class objects
Methods
register(name, func)
Register a custom matcher.
register_built_ins()
Register all built in matchers.
try_to_register_body_as_json(r1, r2)
Try to register body as JSON.
# NOT RUN { (x <- RequestMatcherRegistry$new()) x$default_matchers x$registry # }
Run the code above in your browser using DataLab