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)

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:

This function has been available since v1.17.0.