Upgrade to 1.46.0
[platform/upstream/nghttp2.git] / doc / nghttp2_session_get_local_window_size.rst
1
2 nghttp2_session_get_local_window_size
3 =====================================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: int32_t nghttp2_session_get_local_window_size(nghttp2_session *session)
11
12     
13     Returns the amount of flow-controlled payload (e.g., DATA) that the
14     remote endpoint can send without receiving connection level
15     WINDOW_UPDATE frame.  Note that each stream is still subject to the
16     stream level flow control (see
17     `nghttp2_session_get_stream_local_window_size()`).
18     
19     This function returns -1 if it fails.