diff --git a/apiref.html b/apiref.html index 5c1c5197..71ca84ad 100644 --- a/apiref.html +++ b/apiref.html @@ -2541,6 +2541,11 @@ HEADERS have END_STREAM set. The stream_user_data is data associated to the stream opened by this request and can be an arbitrary pointer, which can be retrieved later by nghttp2_session_get_stream_user_data().

+

This function returns assigned stream ID if it succeeds. But that +stream is not opened yet. The application must not submit frame to +that stream ID before +nghttp2_session_callbacks.before_frame_send_callback is +called for this frame.

This function returns assigned stream ID if it succeeds, or one of the following negative error codes:

@@ -2627,6 +2632,11 @@ stream state from idle or reserved to open.

This function is low-level in a sense that the application code can specify flags directly. For usual HTTP request, nghttp2_submit_request() is useful.

+

This function returns assigned stream ID if it succeeds and +stream_id is -1. But that stream is not opened yet. The +application must not submit frame to that stream ID before +nghttp2_session_callbacks.before_frame_send_callback is +called for this frame.

This function returns newly assigned stream ID if it succeeds and stream_id is -1. Otherwise, this function returns 0 if it succeeds, or one of the following negative error codes:

@@ -2752,6 +2762,11 @@ make it in reserved state. It is available using nghttp2_session_get_stream_user_data(). The application can access it in nghttp2_before_frame_send_callback and nghttp2_on_frame_send_callback of this frame.

+

This function returns assigned promised stream ID if it succeeds. +But that stream is not opened yet. The application must not submit +frame to that stream ID before +nghttp2_session_callbacks.before_frame_send_callback is +called for this frame.

The client side is not allowed to use this function.

This function returns assigned promised stream ID if it succeeds, or one of the following negative error codes:

diff --git a/nghttp2.h.html b/nghttp2.h.html index 84d1e66b..944bbc5c 100644 --- a/nghttp2.h.html +++ b/nghttp2.h.html @@ -2335,6 +2335,12 @@ * arbitrary pointer, which can be retrieved later by * `nghttp2_session_get_stream_user_data()`. * + * This function returns assigned stream ID if it succeeds. But that + * stream is not opened yet. The application must not submit frame to + * that stream ID before + * :member:`nghttp2_session_callbacks.before_frame_send_callback` is + * called for this frame. + * * This function returns assigned stream ID if it succeeds, or one of * the following negative error codes: * @@ -2443,6 +2449,12 @@ * specify flags directly. For usual HTTP request, * `nghttp2_submit_request()` is useful. * + * This function returns assigned stream ID if it succeeds and + * |stream_id| is -1. But that stream is not opened yet. The + * application must not submit frame to that stream ID before + * :member:`nghttp2_session_callbacks.before_frame_send_callback` is + * called for this frame. + * * This function returns newly assigned stream ID if it succeeds and * |stream_id| is -1. Otherwise, this function returns 0 if it * succeeds, or one of the following negative error codes: @@ -2599,6 +2611,12 @@ * access it in :type:`nghttp2_before_frame_send_callback` and * :type:`nghttp2_on_frame_send_callback` of this frame. * + * This function returns assigned promised stream ID if it succeeds. + * But that stream is not opened yet. The application must not submit + * frame to that stream ID before + * :member:`nghttp2_session_callbacks.before_frame_send_callback` is + * called for this frame. + * * The client side is not allowed to use this function. * * This function returns assigned promised stream ID if it succeeds, diff --git a/objects.inv b/objects.inv index fe93b6e6..f5f28c35 100644 Binary files a/objects.inv and b/objects.inv differ diff --git a/package_README.html b/package_README.html index e5ddc73e..001e0f0a 100644 --- a/package_README.html +++ b/package_README.html @@ -178,8 +178,9 @@ header compression

The following endpoints are available to try out nghttp2 implementation.