Update doc
This commit is contained in:
parent
49573e0aa2
commit
b1de6ca390
|
@ -1191,10 +1191,10 @@ typedef ssize_t (*nghttp2_send_callback)(nghttp2_session *session,
|
||||||
* :type:`nghttp2_data_source_read_callback`.
|
* :type:`nghttp2_data_source_read_callback`.
|
||||||
*
|
*
|
||||||
* The application first must send frame header |framehd| of length 9
|
* The application first must send frame header |framehd| of length 9
|
||||||
* bytes. If ``frame->padlen > 0``, send 1 byte of value
|
* bytes. If ``frame->data.padlen > 0``, send 1 byte of value
|
||||||
* ``frame->padlen - 1``. Then send exactly |length| bytes of
|
* ``frame->data.padlen - 1``. Then send exactly |length| bytes of
|
||||||
* application data. Finally, if ``frame->padlen > 0``, send
|
* application data. Finally, if ``frame->data.padlen > 1``, send
|
||||||
* ``frame->padlen - 1`` bytes of zero (they are padding).
|
* ``frame->data.padlen - 1`` bytes of zero as padding.
|
||||||
*
|
*
|
||||||
* The application has to send complete DATA frame in this callback.
|
* The application has to send complete DATA frame in this callback.
|
||||||
* If all data were written successfully, return 0.
|
* If all data were written successfully, return 0.
|
||||||
|
|
Loading…
Reference in New Issue