nghttp3_conn_is_stream_flushed
Synopsis
#include <nghttp3/nghttp3.h>
-
int nghttp3_conn_is_stream_flushed(const nghttp3_conn *conn, int64_t stream_id)
nghttp3_conn_is_stream_flushed()returns nonzero if all stream data for a stream identified by stream_id so far have been accepted by QUIC stack. This means that the cumulative number of bytes thatnghttp3_conn_add_write_offset()notified covers all stream data currently held. This does not mean more stream data cannot be submitted to this stream vianghttp3_read_data_callbackand all stream data have been acknowledged.If there is no stream identified by stream_id, this function returns nonzero.
Added in version 1.17.0.