Commit 8b50cc0e authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Update doc

parent a24c94e9
...@@ -2629,13 +2629,19 @@ NGHTTP2_EXTERN void nghttp2_session_del(nghttp2_session *session); ...@@ -2629,13 +2629,19 @@ NGHTTP2_EXTERN void nghttp2_session_del(nghttp2_session *session);
* *
* 6. :type:`nghttp2_before_frame_send_callback` is invoked. * 6. :type:`nghttp2_before_frame_send_callback` is invoked.
* *
* 7. :type:`nghttp2_send_callback` is invoked one or more times to * 7. If :enum:`NGHTTP2_ERR_CANCEL` is returned from
* :type:`nghttp2_before_frame_send_callback`, the current frame
* transmission is canceled, and
* :type:`nghttp2_on_frame_not_send_callback` is invoked. Abort
* the following steps.
*
* 8. :type:`nghttp2_send_callback` is invoked one or more times to
* send the frame. * send the frame.
* *
* 8. :type:`nghttp2_on_frame_send_callback` is invoked. * 9. :type:`nghttp2_on_frame_send_callback` is invoked.
* *
* 9. If the transmission of the frame triggers closure of the stream, * 10. If the transmission of the frame triggers closure of the
* the stream is closed and * stream, the stream is closed and
* :type:`nghttp2_on_stream_close_callback` is invoked. * :type:`nghttp2_on_stream_close_callback` is invoked.
* *
* This function returns 0 if it succeeds, or one of the following * This function returns 0 if it succeeds, or one of the following
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment