class Async::HTTP::Body::Slowloris
def initialize(*args, minimum_throughput: 1024, **options)
-
minimum_throughput
(Integer
) -- the minimum bytes per second otherwise this body will be forcefully closed.
def initialize(*args, minimum_throughput: 1024, **options) super(*args, **options) @minimum_throughput = minimum_throughput @last_write_at = nil @last_chunk_size = nil end