Class: Datadog::Core::Telemetry::Http::Env

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/telemetry/http/env.rb

Overview

Data structure for an HTTP request

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



9
10
11
# File 'lib/datadog/core/telemetry/http/env.rb', line 9

def body
  @body
end

#headersObject



13
14
15
# File 'lib/datadog/core/telemetry/http/env.rb', line 13

def headers
  @headers ||= {}
end

#pathObject

Returns the value of attribute path.



9
10
11
# File 'lib/datadog/core/telemetry/http/env.rb', line 9

def path
  @path
end