moonbitstack/moonquic/recovery does not have a README file
pub(open) trait Control {
fn window(Self) -> Int64
fn in_flight(Self) -> Int64
fn on_sent(Self, Int64) -> Unit
fn on_ack(Self, Int64) -> Unit
fn on_lost(Self, Int64) -> Unit
fn on_congestion(Self, at~ : Int64, now~ : Int64) -> Unit
fn on_persistent(Self) -> Unit
fn on_ack_at(Self, Int64, now~ : Int64) -> Unit = _
fn on_rtt(Self, sample~ : Int64, now~ : Int64) -> Unit = _
fn on_new_path(Self) -> Unit = _
fn pacing_rate(Self) -> Double? = _
}pub struct Cubic {
window : Int64
ssthresh : Int64
in_flight : Int64
recovery : Int64
w_max : Int64
epoch : Int64
k : Double
rtt : Int64
policy : Policy
}pub struct NewReno {
window : Int64
ssthresh : Int64
in_flight : Int64
recovery : Int64
policy : Policy
}pub struct Pacer {
// private fields
}pub(all) struct Policy {
packets : Int64
time : Double
granularity : Int64
initial_rtt : Int64
persistent : Int64
reduction : Double
datagram : Int64
ack_delay : Int64
}pub struct Rtt {
latest : Int64
min : Int64
smoothed : Int64
variation : Int64
sampled : Bool
}Install
Download zipQUIC transport for MoonBit.