ngtcp2_conn_get_max_stream_data_left

Synopsis

#include <ngtcp2/ngtcp2.h>

uint64_t ngtcp2_conn_get_max_stream_data_left(ngtcp2_conn *conn, int64_t stream_id)

ngtcp2_conn_get_max_stream_data_left() 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.