ferogram.dev / ferogram-mtsender
MS

ferogram-mtsender

MTProto sender pool and retry policy for ferogram. Manages DC connections and drives the retry loop for RPC calls.

Rust v0.6.5 MIT OR Apache-2.0
Cargo.toml
[dependencies]
ferogram-mtsender = "0.6.5"

What it does

  • DcPool: one DcConnection per DC, created on demand
  • DcConnection owns the sender loop for a single DC
  • Retry policy trait with built-in AutoSleep, NoRetries, and CircuitBreaker
  • FLOOD_WAIT and SLOWMODE_WAIT auto-sleep with jitter
  • Exponential backoff for transient I/O errors
ferogram └ ferogram-mtsender ← here └ ferogram-connect
Explore the workspace