ngtcp2_conn_get_stream_user_data

Synopsis

#include <ngtcp2/ngtcp2.h>

void *ngtcp2_conn_get_stream_user_data(ngtcp2_conn *conn, int64_t stream_id)

Warning

Deprecated since version 1.23.0: Use ngtcp2_conn_get_stream_user_data2() instead.

ngtcp2_conn_get_stream_user_data() 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.17.0.