Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2014-04-25 01:39:40 +09:00
parent a5f715963e
commit 59e42c1c69
1 changed files with 3 additions and 1 deletions

View File

@ -648,7 +648,7 @@ typedef enum {
*/
NGHTTP2_DATA_FLAG_EOF = 0x01,
/**
* Indicates data was compressed.
* Indicates data was compressed by application.
*/
NGHTTP2_DATA_FLAG_COMPRESSED = 0x02
} nghttp2_data_flag;
@ -665,6 +665,8 @@ typedef enum {
*
* To send compressed data payload without affecting content-length,
* set :enum:`NGHTTP2_DATA_FLAG_COMPRESSED` flag in |*data_flags|.
* Compression must be done by application prior to fill data in
* |buf|.
*
* If the application wants to postpone DATA frames (e.g.,
* asynchronous I/O, or reading data blocks for long time), it is