Method: Datadog::Core::Remote::Transport::HTTP::API::Instance#call
- Defined in:
- lib/datadog/core/remote/transport/http/api/instance.rb
#call(env) ⇒ Object
26 27 28 29 30 31 32 |
# File 'lib/datadog/core/remote/transport/http/api/instance.rb', line 26 def call(env) # Add headers to request env, unless empty. env.headers.merge!(headers) unless headers.empty? # Send request env to the adapter. adapter.call(env) end |