property
quic.SessionOptions.datagramDropPolicy
datagramDropPolicy?: 'drop-oldest' | 'drop-newest'
Controls which datagram to drop when the pending datagram queue (sized by session.maxPendingDatagrams) is full. Must be one of 'drop-oldest' (discard the oldest queued datagram to make room) or 'drop-newest' (reject the incoming datagram). Dropped datagrams are reported as lost via the ondatagramstatus callback.
This option is immutable after session creation.