Imported Upstream version 1.0.0
[platform/upstream/nghttp2.git] / doc / nghttp2_session_get_next_stream_id.rst
1
2 nghttp2_session_get_next_stream_id
3 ==================================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: uint32_t nghttp2_session_get_next_stream_id(nghttp2_session *session)
11
12     
13     Returns the next outgoing stream ID.  Notice that return type is
14     uint32_t.  If we run out of stream ID for this session, this
15     function returns 1 << 31.