struct Marionette::Session::NetworkConditions

Included Modules

Defined in:

marionette/session.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(offline : Bool, latency : Int32, download_throughput : Int32, upload_throughput : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(offline _offline = @offline, latency _latency = @latency, download_throughput _download_throughput = @download_throughput, upload_throughput _upload_throughput = @upload_throughput) #

[View source]
def download_throughput : Int32 #

def latency : Int32 #

def offline : Bool #

def upload_throughput : Int32 #