Crate mock_proxy[][src]

Expand description

This library was built to help test systems that use libraries which don’t provide any testing utilities themselves. It works by overriding the proxy and root ca attributes and intercepting proxy requests, then returning mock responses defined by the user

The following shows how to setup reqwest to send requests to a Proxy instance: simple_test


The struct used to define mock responses

Primary interface for the library