ngtcp2_conn_get_stream_user_data2

Synopsis

#include <ngtcp2/ngtcp2.h>

void *ngtcp2_conn_get_stream_user_data2(const ngtcp2_conn *conn, int64_t stream_id)

ngtcp2_conn_get_stream_user_data2() returns stream_user_data associated to the stream identified by stream_id. If the stream is not found, or no stream data is associated to the stream, this function returns NULL.

The stream_user_data can be associated to the stream by one of the following functions:

Added in version 1.23.0.