nghttp2_conn_get_stream_user_data

Synopsis

#include <nghttp2v2/nghttp2.h>

void *nghttp2_conn_get_stream_user_data(const nghttp2_conn *conn, int64_t stream_id)

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

The user data can be associated to the stream by the following functions: