ngtcp2_conn_get_max_stream_data_left2

Synopsis

#include <ngtcp2/ngtcp2.h>

uint64_t ngtcp2_conn_get_max_stream_data_left2(const ngtcp2_conn *conn, int64_t stream_id)

ngtcp2_conn_get_max_stream_data_left2() returns the number of bytes that this local endpoint can send to a stream identified by stream_id without violating stream-level flow control. If no such stream is found, this function returns 0.

Added in version 1.23.0.