sapling/eden/scm/lib/hg-http
Stefan Filip c1ab6a4e92 http-client: add stats reporting hook
Summary:
Add `with_stats_reporting` to HttpClient. It takes a closure that will be
called with all `Stats` objects generated. We then use this function in
the hg-http crate to integrate with the metrics backend used in Mercurial.

Reviewed By: kulshrax

Differential Revision: D23577869

fbshipit-source-id: 5ac23f00183f3c3d956627a869393cd4b27610d4
2020-09-09 17:35:48 -07:00
..
src http-client: add stats reporting hook 2020-09-09 17:35:48 -07:00
Cargo.toml http-client: add stats reporting hook 2020-09-09 17:35:48 -07:00