class NewRelic::Agent::Instrumentation::GRPC::Client::RequestWrapper
Attributes
newrelic_metadata[R]
Public Class Methods
new(host)
click to toggle source
# File lib/new_relic/agent/instrumentation/grpc/client/request_wrapper.rb, line 13 def initialize(host) @host = host @newrelic_metadata = {} end
Public Instance Methods
[]=(key, value)
click to toggle source
# File lib/new_relic/agent/instrumentation/grpc/client/request_wrapper.rb, line 22 def []=(key, value) @newrelic_metadata[key] = value end
host_from_header()
click to toggle source
# File lib/new_relic/agent/instrumentation/grpc/client/request_wrapper.rb, line 18 def host_from_header @host end