4 ms·
Nice lib, eager to use it in replacement of HTTP.rb, auto managed persistent connection is a great addition. Do you plan to support webmock and httplog ? Or ad
by maximegarcia 7y ago
Nice lib, eager to use it in replacement of HTTP.rb, auto managed persistent connection is a great addition.
Do you plan to support webmock and httplog ? Or add support for httpx into those ?
Can't integrate a networking lib that can't be mocked in my specs.
- chucke 7y agoThx! I don't have any plans to integrate them, as I don't use any of them. But it should be trivial to create a plugin for them using the httpx plugin system: https://honeyryderchuck.gitlab.io/httpx/wiki/Custom-Plugins https://honeyryderchuck.gitlab.io/httpx/wiki/Custom-Plugins , feel free to give it a try. httpx also ships with its own request/response logger, set HTTPX_DEBUG=1 or set the options so that you see an example.