
ngtcp2_conn_get_stream_user_data
================================

Synopsis
--------

*#include <ngtcp2/ngtcp2.h>*

.. function:: void *ngtcp2_conn_get_stream_user_data(ngtcp2_conn *conn, int64_t stream_id)

    
    .. warning::
    
      .. version-deprecated:: 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:
    
    - `ngtcp2_conn_open_bidi_stream`
    - `ngtcp2_conn_open_uni_stream`
    - `ngtcp2_conn_set_stream_user_data`
    
    .. version-added:: 1.17.0
