class Sentry::Transport

def send_envelope(envelope)

def send_envelope(envelope)
  reject_rate_limited_items(envelope)
  return if envelope.items.empty?
  data, serialized_items = serialize_envelope(envelope)
  if data
    log_info("[Transport] Sending envelope with items [#{serialized_items.map(&:type).join(', ')}] #{envelope.event_id} to Sentry")
    send_data(data)
  end
end