Back to Fluent Bit

nghttp2_session_get_stream_remote_close

lib/nghttp2-1.65.0/doc/nghttp2_session_get_stream_remote_close.rst

5.0.4378 B
Original Source

nghttp2_session_get_stream_remote_close

Synopsis

#include <nghttp2/nghttp2.h>

.. function:: int nghttp2_session_get_stream_remote_close(nghttp2_session *session, int32_t stream_id)

Returns 1 if remote peer half closed the given stream *stream_id*.
Returns 0 if it did not.  Returns -1 if no such stream exists.