class ElasticAPM::Context::Request::Socket

@api private

Attributes

encrypted[R]
remote_addr[R]

Public Class Methods

new(req) click to toggle source
# File lib/elastic_apm/context/request/socket.rb, line 10
def initialize(req)
  @remote_addr = req.ip
  @encrypted = req.scheme == 'https'
end