Class: Datadog::Core::Telemetry::Http::Env
- Inherits:
-
Object
- Object
- Datadog::Core::Telemetry::Http::Env
- Defined in:
- lib/datadog/core/telemetry/http/env.rb
Overview
Data structure for an HTTP request
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
- #headers ⇒ Object
-
#path ⇒ Object
Returns the value of attribute path.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
9 10 11 |
# File 'lib/datadog/core/telemetry/http/env.rb', line 9 def body @body end |
#headers ⇒ Object
13 14 15 |
# File 'lib/datadog/core/telemetry/http/env.rb', line 13 def headers @headers ||= {} end |
#path ⇒ Object
Returns the value of attribute path.
9 10 11 |
# File 'lib/datadog/core/telemetry/http/env.rb', line 9 def path @path end |