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.



7
8
9
# File 'lib/datadog/core/telemetry/http/env.rb', line 7

def body
  @body
end

#headersObject



11
12
13
# File 'lib/datadog/core/telemetry/http/env.rb', line 11

def headers
  @headers ||= {}
end

#pathObject

Returns the value of attribute path.



7
8
9
# File 'lib/datadog/core/telemetry/http/env.rb', line 7

def path
  @path
end