Hublot is an HTTP client library with these key features:
-
Multiple backends: the actual HTTP transactions are performed by
reqwestor by thecurlcommand. This is transparent to the caller, the interface stays the same, you only need to set which engine should be used. -
HTTP-level caching, with full replay capabilities. If you run the same program twice, on the second run no network requests will be made, and the script will receive the same responses.
-
Per-host throttling. By default Hublot will enforce a 5-second courtesy delay between any two requests to the same host.
This is a Rust port of the Hublot Python library.