Method: NewRelic::Agent::JavaScriptInstrumentor#add_ssl_for_http

Defined in:
lib/new_relic/agent/javascript_instrumentor.rb

#add_ssl_for_http(data) ⇒ Object



165
166
167
168
169
# File 'lib/new_relic/agent/javascript_instrumentor.rb', line 165

def add_ssl_for_http(data)
  ssl_for_http = NewRelic::Agent.config[:'browser_monitoring.ssl_for_http']

  data[SSL_FOR_HTTP_KEY] = ssl_for_http if ssl_for_http
end