Upgrade to 1.46.0
[platform/upstream/nghttp2.git] / doc / nghttp2_session_resume_data.rst
1
2 nghttp2_session_resume_data
3 ===========================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: int nghttp2_session_resume_data(nghttp2_session *session, int32_t stream_id)
11
12     
13     Puts back previously deferred DATA frame in the stream *stream_id*
14     to the outbound queue.
15     
16     This function returns 0 if it succeeds, or one of the following
17     negative error codes:
18     
19     :macro:`nghttp2_error.NGHTTP2_ERR_INVALID_ARGUMENT`
20         The stream does not exist; or no deferred data exist.
21     :macro:`nghttp2_error.NGHTTP2_ERR_NOMEM`
22         Out of memory.