Method: Datadog::Core::Remote::Transport::HTTP::Negotiation::Response#initialize
- Defined in:
- lib/datadog/core/remote/transport/http/negotiation.rb
#initialize(http_response, options = {}) ⇒ Response
Returns a new instance of Response.
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/datadog/core/remote/transport/http/negotiation.rb', line 22 def initialize(http_response, = {}) super(http_response) # TODO: transform endpoint hash in a better object for negotiation # TODO: transform config in a better object, notably config has max_request_bytes @version = [:version] @endpoints = [:endpoints] @config = [:config] @span_events = [:span_events] end |