2 nghttp2_session_consume_connection
3 ==================================
8 *#include <nghttp2/nghttp2.h>*
10 .. function:: int nghttp2_session_consume_connection(nghttp2_session *session, size_t size)
13 Like `nghttp2_session_consume()`, but this only tells library that
14 *size* bytes were consumed only for connection level. Note that
15 HTTP/2 maintains connection and stream level flow control windows
18 This function returns 0 if it succeeds, or one of the following
21 :macro:`nghttp2_error.NGHTTP2_ERR_NOMEM`
23 :macro:`nghttp2_error.NGHTTP2_ERR_INVALID_STATE`
24 Automatic WINDOW_UPDATE is not disabled.