Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.499 kB
# coding: UTF-8
require "warden/protocol/base"
module Warden
module Protocol
class LimitBandwidthRequest < BaseRequest
required :handle, :string, 1
required :rate, :uint64, 2 # Bandwidth rate in byte(s)/sec
required :burst, :uint64, 3 # Allow burst size in byte(s)
end
class LimitBandwidthResponse < BaseResponse
required :rate, :uint64, 1 # Bandwidth rate in byte(s)/sec
required :burst, :uint64, 2 # Allow burst size in byte(s)
end
end
end
Jump to Line
Something went wrong with that request. Please try again.