Sha256: 8792c0c0c2e8e04abf31554b35b186af43b9a31489f1d54c6570c9fa60f35fb5
Contents?: true
Size: 691 Bytes
Versions: 9
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. module NewRelic module Agent module Instrumentation module GRPC module Client class RequestWrapper attr_reader :newrelic_metadata def initialize(host) @host = host @newrelic_metadata = {} end def host_from_header @host end def []=(key, value) @newrelic_metadata[key] = value end end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems