Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2015-04-06 23:57:48 +09:00
parent d42f31ca78
commit ef4e39be55
1 changed files with 6 additions and 2 deletions

View File

@ -2727,8 +2727,9 @@ NGHTTP2_EXTERN uint32_t
*
* Tells the |session| that |size| bytes for a stream denoted by
* |stream_id| were consumed by application and are ready to
* WINDOW_UPDATE. This function is intended to be used without
* automatic window update (see
* WINDOW_UPDATE. The consumed bytes are counted towards both
* connection and stream level WINDOW_UPDATE. This function is
* intended to be used without automatic window update (see
* `nghttp2_option_set_no_auto_window_update()`).
*
* This function returns 0 if it succeeds, or one of the following
@ -3390,6 +3391,9 @@ NGHTTP2_EXTERN int32_t
* The |flags| is currently ignored and should be
* :enum:`NGHTTP2_FLAG_NONE`.
*
* The |stream_id| is the stream ID to send this WINDOW_UPDATE. To
* send connection level WINDOW_UPDATE, specify 0 to |stream_id|.
*
* If the |window_size_increment| is positive, the WINDOW_UPDATE with
* that value as window_size_increment is queued. If the
* |window_size_increment| is larger than the received bytes from the