Module: Datadog::CI::Transport::Adapters::TelemetryWebmockSafeAdapter::InstanceMethods
- Defined in:
- lib/datadog/ci/transport/adapters/telemetry_webmock_safe_adapter.rb
Instance Method Summary collapse
Instance Method Details
#open(&block) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/datadog/ci/transport/adapters/telemetry_webmock_safe_adapter.rb', line 15 def open(&block) req = NetHttpClient.original_net_http.new(@hostname, @port) req.use_ssl = @ssl req.open_timeout = req.read_timeout = @timeout req.start(&block) end |