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
}pub struct NewReno {
window : Int64
ssthresh : Int64
in_flight : Int64
recovery : Int64
policy : Policy
}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 zipmoonquic — the QUIC transport for MoonBit (RFC 9000/9001/9002): packets, frames, loss recovery, congestion control, streams and flow control, bytes in and events out. No sockets; the handshake is moontls' and HTTP/3 is moonhttp's.
Dependencies