midden handler
MiddenHandler
: default handler
MiddenHandlerCrul
: crul
handler
request
an http request
response
an http response
new()
Create a new MiddenHandler
object
MiddenHandler$new(request, response = NULL)
request
an http request
response
an 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)
deep
Whether 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)
deep
Whether to make a deep clone.