Sha256: 305fa567d22decd361339462ecc44c7babb6f9d4c49c03d3b3c7e97599dc2afb

Contents?: true

Size: 349 Bytes

Versions: 33

Compression:

Stored size: 349 Bytes

Contents

class Puppeteer::NetworkCondition
  # @param download [Number] Download speed (bytes/s)
  # @param upload [Number] Upload speed (bytes/s)
  # @param latency [Number] Latency (ms)
  def initialize(download:, upload:, latency:)
    @download = download
    @upload = upload
    @latency = latency
  end

  attr_reader :download, :upload, :latency
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
puppeteer-ruby-0.45.6 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.5 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.4 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.3 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.2 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.2.alpha2 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.2.alpha1 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.1 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.45.0 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.44.3 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.44.2 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.44.1 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.44.0 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.43.1 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.43.0 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.42.0 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.41.0 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.40.7 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.40.6 lib/puppeteer/network_condition.rb
puppeteer-ruby-0.40.5 lib/puppeteer/network_condition.rb