aria2-protocol 0.2.3

Multi-protocol networking stack for aria2-rust: HTTP/HTTPS client, FTP/SFTP, full BitTorrent (DHT/PEX/MSE), and Metalink V3/V4 parser
Documentation
//! uTP (Micro Transport Protocol) implementation
//!
//! This module implements BEP 29 - uTorrent transport protocol.
//! uTP is a transport protocol layered on top of UDP that provides
//! reliable, ordered delivery with congestion control.

pub mod congestion;
pub mod connection;
pub mod metrics;
pub mod packet;
pub mod socket;
pub mod timer;

pub use congestion::{
    GAIN, LEDBAT_MAX_CWND, LEDBAT_MIN_CWND, LEDBAT_TARGET_DELAY, LedbatController,
};
pub use connection::{ConnectionError, ConnectionState, UtpConnection};
pub use metrics::{BandwidthEstimator, DelayEstimator, RttEstimator};
pub use packet::{PacketType, UTP_HEADER_SIZE, UTP_VERSION, UtpPacket, UtpPacketError};
pub use socket::{AsyncUtpSocket, ConnectionId, ConnectionStats, UtpSocket, UtpSocketError};
pub use timer::{
    IdleTimeoutDetector, KeepaliveManager, RetransmitScheduler, TimerManager, TimerType,
};