midden handler
MiddenHandler: default handler
MiddenHandlerCrul: crul handler
requestan http request
responsean http response
new()Create a new MiddenHandler object
MiddenHandler$new(request, response = NULL)
requestan http request
responsean http response
A new MiddenHandler object
handle()Handle the request (request given in $initialize())
MiddenHandler$handle(webmockr_stub_found = FALSE)
webmockr_stub_found(logical) whether a webmockr stub was found
or not. default: FALSE
handles a request, outcomes vary
clone()The objects of this class are cloneable with this method.
MiddenHandler$clone(deep = FALSE)
deepWhether to make a deep clone.
webmiddens::MiddenHandler -> MiddenHandlerCrul
Inherited methods
clone()The objects of this class are cloneable with this method.
MiddenHandlerCrul$clone(deep = FALSE)
deepWhether to make a deep clone.