ngtcp2_conn_get_stream_loss_count

Synopsis

#include <ngtcp2/ngtcp2.h>

size_t ngtcp2_conn_get_stream_loss_count(ngtcp2_conn *conn, int64_t stream_id)

ngtcp2_conn_get_stream_loss_count() returns the number of packets that contain STREAM frame for a stream identified by stream_id and are declared to be lost. The number may include the spurious losses. If no stream identified by stream_id is found, this function returns 0.