File: nghttp2_session_get_stream_user_data.rst

package info (click to toggle)
nghttp2 1.68.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,592 kB
  • sloc: ansic: 104,233; cpp: 55,792; ruby: 30,108; yacc: 7,083; sh: 4,643; makefile: 1,506; python: 806
file content (20 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

nghttp2_session_get_stream_user_data
====================================

Synopsis
--------

*#include <nghttp2/nghttp2.h>*

.. function:: void * nghttp2_session_get_stream_user_data(nghttp2_session *session, int32_t stream_id)

    
    Returns stream_user_data for the stream *stream_id*.  The
    stream_user_data is provided by `nghttp2_submit_request2()`,
    `nghttp2_submit_headers()` or
    `nghttp2_session_set_stream_user_data()`.  Unless it is set using
    `nghttp2_session_set_stream_user_data()`, if the stream is
    initiated by the remote endpoint, stream_user_data is always
    ``NULL``.  If the stream does not exist, this function returns
    ``NULL``.