nghttp3_conn_set_max_concurrent_streams

Synopsis

#include <nghttp3/nghttp3.h>

void nghttp3_conn_set_max_concurrent_streams(nghttp3_conn *conn, size_t max_concurrent_streams)

nghttp3_conn_set_max_concurrent_streams() tells conn the maximum number of concurrent streams that a remote endpoint can open, including both bidirectional and unidirectional streams which potentially receive QPACK encoded HEADERS frame. This value is used as a hint to limit the internal resource consumption.