class Async::HTTP::Body::Slowloris::ThroughputError
Public Class Methods
new(throughput, minimum_throughput, time_since_last_write)
click to toggle source
Calls superclass method
# File lib/async/http/body/slowloris.rb, line 33 def initialize(throughput, minimum_throughput, time_since_last_write) super("Slow write: #{throughput.round(1)}bytes/s less than required #{minimum_throughput.round}bytes/s.") end