lib/httpx.rb in httpx-0.22.2 vs lib/httpx.rb in httpx-0.22.3
- old
+ new
@@ -65,5 +65,11 @@
extend Chainable
end
require "httpx/session"
require "httpx/session_extensions"
+
+# load integrations when possible
+
+require "httpx/adapters/datadog" if defined?(DDTrace) || defined?(Datadog)
+require "httpx/adapters/sentry" if defined?(Sentry)
+require "httpx/adapters/webmock" if defined?(WebMock)