struct Marionette::Session::NetworkConditions
- Marionette::Session::NetworkConditions
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
marionette/session.crConstructors
- .new(offline : Bool, latency : Int32, download_throughput : Int32, upload_throughput : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #copy_with(offline _offline = @offline, latency _latency = @latency, download_throughput _download_throughput = @download_throughput, upload_throughput _upload_throughput = @upload_throughput)
- #download_throughput : Int32
- #latency : Int32
- #offline : Bool
- #upload_throughput : Int32
Constructor Detail
def self.new(offline : Bool, latency : Int32, download_throughput : Int32, upload_throughput : Int32)
#
Instance Method Detail
def copy_with(offline _offline = @offline, latency _latency = @latency, download_throughput _download_throughput = @download_throughput, upload_throughput _upload_throughput = @upload_throughput)
#