Stubbing and Setting Expectations on 'HTTP' Requests
Set raise error condition
This function is defunct.
Expectation for what's returned from a stubbed request
Set timeout as an expected return on a match
BodyPattern
Build a crul request
Build a crul response
Build a httr request
Build a httr response
Build an httr2 request
Build a httr2 response (httr2_response
)
Enable or disable webmockr
Handle stub removal
RequestRegistry
RequestSignature
Adapters for Modifying HTTP Requests
HashCounter
HeadersPattern
HttpLibAdapaterRegistry
Turn on httr
mocking
Turn on httr2
mocking
Partially match request query parameters or request bodies
Get the last HTTP request made
Get the last stub created
MethodPattern
Mock file
Mocking writing to disk
Pipe operator
Extract the body from an HTTP request
Remove a request stub
List or clear requests in the request registry
RequestPattern class
Response
Get a diff of a stub request body and a request body from an http requ...
stub_registry_clear
List stubs in the stub registry
Stub an http request
StubbedRequest
StubCounter
StubRegistry
UriPattern
webmockr configuration
execute a curl request
This function is defunct.
This function is defunct.
webmockr_reset
Defunct functions in webmockr
webmockr: Stubbing and Setting Expectations on 'HTTP' Requests
This function is defunct.
Set additional parts of a stubbed request
Stubbing and setting expectations on 'HTTP' requests. Includes tools for stubbing 'HTTP' requests, including expected request conditions and response conditions. Match on 'HTTP' method, query parameters, request body, headers and more. Can be used for unit tests or outside of a testing context.
Useful links