Class: Datadog::Core::Transport::HTTP::Client Private
- Inherits:
-
Object
- Object
- Datadog::Core::Transport::HTTP::Client
- Defined in:
- lib/datadog/core/transport/http/client.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Routes, encodes, and sends DI data to the trace agent via HTTP.
Direct Known Subclasses
Remote::Transport::HTTP::Config::Client, Remote::Transport::HTTP::Negotiation::Client, Datadog::Core::Telemetry::Transport::HTTP::Telemetry::Client, DI::Transport::HTTP::Diagnostics::Client, DI::Transport::HTTP::Input::Client, DataStreams::Transport::HTTP::Client, Tracing::Transport::HTTP::Client
Instance Attribute Summary collapse
- #api ⇒ Object readonly private
- #logger ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(api, logger:) ⇒ Client
constructor
private
A new instance of Client.
Constructor Details
#initialize(api, logger:) ⇒ Client
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Client.
16 17 18 19 |
# File 'lib/datadog/core/transport/http/client.rb', line 16 def initialize(api, logger:) @api = api @logger = logger end |
Instance Attribute Details
#api ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/datadog/core/transport/http/client.rb', line 14 def api @api end |
#logger ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 |
# File 'lib/datadog/core/transport/http/client.rb', line 14 def logger @logger end |