Back to Fluent Bit

nghttp2_stream_get_state

lib/nghttp2-1.65.0/doc/nghttp2_stream_get_state.rst

5.0.4387 B
Original Source

nghttp2_stream_get_state

Synopsis

#include <nghttp2/nghttp2.h>

.. function:: nghttp2_stream_proto_state nghttp2_stream_get_state(nghttp2_stream *stream)

Returns state of *stream*.  The root stream retrieved by
`nghttp2_session_get_root_stream()` will have stream state
:enum:`nghttp2_stream_proto_state.NGHTTP2_STREAM_STATE_IDLE`.