Files
sm1.13-ripext/nghttp2/doc/nghttp2_session_find_stream.rst
jenz 08c03ac533
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s
first commit
2026-09-13 22:18:11 +01:00

22 lines
662 B
ReStructuredText

nghttp2_session_find_stream
===========================
Synopsis
--------
*#include <nghttp2/nghttp2.h>*
.. function:: nghttp2_stream * nghttp2_session_find_stream(nghttp2_session *session, int32_t stream_id)
Returns pointer to :type:`nghttp2_stream` object denoted by
*stream_id*. If stream was not found, returns NULL.
Returns imaginary root stream (see
`nghttp2_session_get_root_stream()`) if 0 is given in *stream_id*.
Unless *stream_id* == 0, the returned pointer is valid until next
call of `nghttp2_session_send()`, `nghttp2_session_mem_send()`,
`nghttp2_session_recv()`, and `nghttp2_session_mem_recv()`.