class ElasticAPM::Context::Request::Url
def initialize(req)
def initialize(req) @protocol = req.scheme @hostname = req.host @port = req.port.to_s @pathname = req.path @search = req.query_string @hash = nil @full = build_full_url req end
def initialize(req) @protocol = req.scheme @hostname = req.host @port = req.port.to_s @pathname = req.path @search = req.query_string @hash = nil @full = build_full_url req end