onPacketSent method

void onPacketSent(
  1. int bytes
)

Called when a packet is sent.

Implementation

void onPacketSent(int bytes) {
  // //print('[CongestionController] onPacketSent: bytes=$bytes, inflight_before=$_inflight');
  _inflight += bytes;
  // //print('[CongestionController] onPacketSent: inflight_after=$_inflight');
  _armPtoTimer();
}