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.
7 8 9 |
# File 'lib/datadog/core/telemetry/http/env.rb', line 7 def body @body end |
#headers ⇒ Object
11 12 13 |
# File 'lib/datadog/core/telemetry/http/env.rb', line 11 def headers @headers ||= {} end |
#path ⇒ Object
Returns the value of attribute path.
7 8 9 |
# File 'lib/datadog/core/telemetry/http/env.rb', line 7 def path @path end |