Module: Datadog::Core::Transport::HTTP::Negotiation::API::Instance

Defined in:
lib/datadog/core/transport/http/negotiation.rb

Overview

Extensions for HTTP API Instance

Defined Under Namespace

Classes: NegotiationNotSupportedError

Instance Method Summary collapse

Instance Method Details

#send_info(env) ⇒ Object



90
91
92
93
94
95
96
# File 'lib/datadog/core/transport/http/negotiation.rb', line 90

def send_info(env)
  raise NegotiationNotSupportedError, spec unless spec.is_a?(Negotiation::API::Spec)

  spec.send_info(env) do |request_env|
    call(request_env)
  end
end