Sha256: b88ed5ebe65d18575fc1105f1b56f5c35009bdc1718f7e6b14ee719196853553
Contents?: true
Size: 366 Bytes
Versions: 5
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module ElasticAPM # @api private class Context # @api private class Request # @api private class Socket def initialize(req) @remote_addr = req.env['REMOTE_ADDR'] @encrypted = req.scheme == 'https' end attr_reader :remote_addr, :encrypted end end end end
Version data entries
5 entries across 5 versions & 1 rubygems