Update doc
This commit is contained in:
parent
ea44aeb681
commit
8a08654789
45
apiref.html
45
apiref.html
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>API Reference — nghttp2 0.5.0-DEV documentation</title>
|
<title>API Reference — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="Python API Reference" href="python-apiref.html"/>
|
<link rel="next" title="Python API Reference" href="python-apiref.html"/>
|
||||||
<link rel="prev" title="nghttpx - HOW-TO" href="nghttpx-howto.html"/>
|
<link rel="prev" title="nghttpx - HOW-TO" href="nghttpx-howto.html"/>
|
||||||
|
|
||||||
|
@ -2541,11 +2541,6 @@ HEADERS have END_STREAM set. The <em>stream_user_data</em> is data
|
||||||
associated to the stream opened by this request and can be an
|
associated to the stream opened by this request and can be an
|
||||||
arbitrary pointer, which can be retrieved later by
|
arbitrary pointer, which can be retrieved later by
|
||||||
<a class="reference internal" href="#c.nghttp2_session_get_stream_user_data" title="nghttp2_session_get_stream_user_data"><tt class="xref c c-func docutils literal"><span class="pre">nghttp2_session_get_stream_user_data()</span></tt></a>.</p>
|
<a class="reference internal" href="#c.nghttp2_session_get_stream_user_data" title="nghttp2_session_get_stream_user_data"><tt class="xref c c-func docutils literal"><span class="pre">nghttp2_session_get_stream_user_data()</span></tt></a>.</p>
|
||||||
<p>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
|
|
||||||
<a class="reference internal" href="#c.nghttp2_session_callbacks.before_frame_send_callback" title="nghttp2_session_callbacks.before_frame_send_callback"><tt class="xref c c-member docutils literal"><span class="pre">nghttp2_session_callbacks.before_frame_send_callback</span></tt></a> is
|
|
||||||
called for this frame.</p>
|
|
||||||
<p>This function returns assigned stream ID if it succeeds, or one of
|
<p>This function returns assigned stream ID if it succeeds, or one of
|
||||||
the following negative error codes:</p>
|
the following negative error codes:</p>
|
||||||
<dl class="docutils">
|
<dl class="docutils">
|
||||||
|
@ -2555,6 +2550,14 @@ the following negative error codes:</p>
|
||||||
<dd>No stream ID is available because maximum stream ID was
|
<dd>No stream ID is available because maximum stream ID was
|
||||||
reached.</dd>
|
reached.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<div class="admonition warning">
|
||||||
|
<p class="first admonition-title">Warning</p>
|
||||||
|
<p class="last">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
|
||||||
|
<a class="reference internal" href="#c.nghttp2_session_callbacks.before_frame_send_callback" title="nghttp2_session_callbacks.before_frame_send_callback"><tt class="xref c c-member docutils literal"><span class="pre">nghttp2_session_callbacks.before_frame_send_callback</span></tt></a> is
|
||||||
|
called for this frame.</p>
|
||||||
|
</div>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
|
|
||||||
<dl class="function">
|
<dl class="function">
|
||||||
|
@ -2632,11 +2635,6 @@ stream state from idle or reserved to open.</p>
|
||||||
<p>This function is low-level in a sense that the application code can
|
<p>This function is low-level in a sense that the application code can
|
||||||
specify flags directly. For usual HTTP request,
|
specify flags directly. For usual HTTP request,
|
||||||
<a class="reference internal" href="#c.nghttp2_submit_request" title="nghttp2_submit_request"><tt class="xref c c-func docutils literal"><span class="pre">nghttp2_submit_request()</span></tt></a> is useful.</p>
|
<a class="reference internal" href="#c.nghttp2_submit_request" title="nghttp2_submit_request"><tt class="xref c c-func docutils literal"><span class="pre">nghttp2_submit_request()</span></tt></a> is useful.</p>
|
||||||
<p>This function returns assigned stream ID if it succeeds and
|
|
||||||
<em>stream_id</em> is -1. But that stream is not opened yet. The
|
|
||||||
application must not submit frame to that stream ID before
|
|
||||||
<a class="reference internal" href="#c.nghttp2_session_callbacks.before_frame_send_callback" title="nghttp2_session_callbacks.before_frame_send_callback"><tt class="xref c c-member docutils literal"><span class="pre">nghttp2_session_callbacks.before_frame_send_callback</span></tt></a> is
|
|
||||||
called for this frame.</p>
|
|
||||||
<p>This function returns newly assigned stream ID if it succeeds and
|
<p>This function returns newly assigned stream ID if it succeeds and
|
||||||
<em>stream_id</em> is -1. Otherwise, this function returns 0 if it
|
<em>stream_id</em> is -1. Otherwise, this function returns 0 if it
|
||||||
succeeds, or one of the following negative error codes:</p>
|
succeeds, or one of the following negative error codes:</p>
|
||||||
|
@ -2647,6 +2645,14 @@ succeeds, or one of the following negative error codes:</p>
|
||||||
<dd>No stream ID is available because maximum stream ID was
|
<dd>No stream ID is available because maximum stream ID was
|
||||||
reached.</dd>
|
reached.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<div class="admonition warning">
|
||||||
|
<p class="first admonition-title">Warning</p>
|
||||||
|
<p class="last">This function returns assigned stream ID if it succeeds and
|
||||||
|
<em>stream_id</em> is -1. But that stream is not opened yet. The
|
||||||
|
application must not submit frame to that stream ID before
|
||||||
|
<a class="reference internal" href="#c.nghttp2_session_callbacks.before_frame_send_callback" title="nghttp2_session_callbacks.before_frame_send_callback"><tt class="xref c c-member docutils literal"><span class="pre">nghttp2_session_callbacks.before_frame_send_callback</span></tt></a> is
|
||||||
|
called for this frame.</p>
|
||||||
|
</div>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
|
|
||||||
<dl class="function">
|
<dl class="function">
|
||||||
|
@ -2762,11 +2768,6 @@ make it in reserved state. It is available using
|
||||||
<a class="reference internal" href="#c.nghttp2_session_get_stream_user_data" title="nghttp2_session_get_stream_user_data"><tt class="xref c c-func docutils literal"><span class="pre">nghttp2_session_get_stream_user_data()</span></tt></a>. The application can
|
<a class="reference internal" href="#c.nghttp2_session_get_stream_user_data" title="nghttp2_session_get_stream_user_data"><tt class="xref c c-func docutils literal"><span class="pre">nghttp2_session_get_stream_user_data()</span></tt></a>. The application can
|
||||||
access it in <a class="reference internal" href="#c.nghttp2_before_frame_send_callback" title="nghttp2_before_frame_send_callback"><tt class="xref c c-type docutils literal"><span class="pre">nghttp2_before_frame_send_callback</span></tt></a> and
|
access it in <a class="reference internal" href="#c.nghttp2_before_frame_send_callback" title="nghttp2_before_frame_send_callback"><tt class="xref c c-type docutils literal"><span class="pre">nghttp2_before_frame_send_callback</span></tt></a> and
|
||||||
<a class="reference internal" href="#c.nghttp2_on_frame_send_callback" title="nghttp2_on_frame_send_callback"><tt class="xref c c-type docutils literal"><span class="pre">nghttp2_on_frame_send_callback</span></tt></a> of this frame.</p>
|
<a class="reference internal" href="#c.nghttp2_on_frame_send_callback" title="nghttp2_on_frame_send_callback"><tt class="xref c c-type docutils literal"><span class="pre">nghttp2_on_frame_send_callback</span></tt></a> of this frame.</p>
|
||||||
<p>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
|
|
||||||
<a class="reference internal" href="#c.nghttp2_session_callbacks.before_frame_send_callback" title="nghttp2_session_callbacks.before_frame_send_callback"><tt class="xref c c-member docutils literal"><span class="pre">nghttp2_session_callbacks.before_frame_send_callback</span></tt></a> is
|
|
||||||
called for this frame.</p>
|
|
||||||
<p>The client side is not allowed to use this function.</p>
|
<p>The client side is not allowed to use this function.</p>
|
||||||
<p>This function returns assigned promised stream ID if it succeeds,
|
<p>This function returns assigned promised stream ID if it succeeds,
|
||||||
or one of the following negative error codes:</p>
|
or one of the following negative error codes:</p>
|
||||||
|
@ -2780,6 +2781,14 @@ client.</dd>
|
||||||
<dd>No stream ID is available because maximum stream ID was
|
<dd>No stream ID is available because maximum stream ID was
|
||||||
reached.</dd>
|
reached.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<div class="admonition warning">
|
||||||
|
<p class="first admonition-title">Warning</p>
|
||||||
|
<p class="last">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
|
||||||
|
<a class="reference internal" href="#c.nghttp2_session_callbacks.before_frame_send_callback" title="nghttp2_session_callbacks.before_frame_send_callback"><tt class="xref c c-member docutils literal"><span class="pre">nghttp2_session_callbacks.before_frame_send_callback</span></tt></a> is
|
||||||
|
called for this frame.</p>
|
||||||
|
</div>
|
||||||
</dd></dl>
|
</dd></dl>
|
||||||
|
|
||||||
<dl class="function">
|
<dl class="function">
|
||||||
|
@ -3220,7 +3229,7 @@ always succeeds.</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Index — nghttp2 0.5.0-DEV documentation</title>
|
<title>Index — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
|
||||||
|
@ -1561,7 +1561,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>nghttp2 - HTTP/2 C Library — nghttp2 0.5.0-DEV documentation</title>
|
<title>nghttp2 - HTTP/2 C Library — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="#"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="#"/>
|
||||||
<link rel="next" title="nghttp2 - HTTP/2 C Library" href="package_README.html"/>
|
<link rel="next" title="nghttp2 - HTTP/2 C Library" href="package_README.html"/>
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ version 2.</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>nghttp2.h — nghttp2 0.5.0-DEV documentation</title>
|
<title>nghttp2.h — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="nghttp2ver.h" href="nghttp2ver.h.html"/>
|
<link rel="next" title="nghttp2ver.h" href="nghttp2ver.h.html"/>
|
||||||
<link rel="prev" title="Python API Reference" href="python-apiref.html"/>
|
<link rel="prev" title="Python API Reference" href="python-apiref.html"/>
|
||||||
|
|
||||||
|
@ -2335,12 +2335,6 @@
|
||||||
<span class="cm"> * arbitrary pointer, which can be retrieved later by</span>
|
<span class="cm"> * arbitrary pointer, which can be retrieved later by</span>
|
||||||
<span class="cm"> * `nghttp2_session_get_stream_user_data()`.</span>
|
<span class="cm"> * `nghttp2_session_get_stream_user_data()`.</span>
|
||||||
<span class="cm"> *</span>
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> * This function returns assigned stream ID if it succeeds. But that</span>
|
|
||||||
<span class="cm"> * stream is not opened yet. The application must not submit frame to</span>
|
|
||||||
<span class="cm"> * that stream ID before</span>
|
|
||||||
<span class="cm"> * :member:`nghttp2_session_callbacks.before_frame_send_callback` is</span>
|
|
||||||
<span class="cm"> * called for this frame.</span>
|
|
||||||
<span class="cm"> *</span>
|
|
||||||
<span class="cm"> * This function returns assigned stream ID if it succeeds, or one of</span>
|
<span class="cm"> * This function returns assigned stream ID if it succeeds, or one of</span>
|
||||||
<span class="cm"> * the following negative error codes:</span>
|
<span class="cm"> * the following negative error codes:</span>
|
||||||
<span class="cm"> *</span>
|
<span class="cm"> *</span>
|
||||||
|
@ -2349,6 +2343,15 @@
|
||||||
<span class="cm"> * :enum:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`</span>
|
<span class="cm"> * :enum:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`</span>
|
||||||
<span class="cm"> * No stream ID is available because maximum stream ID was</span>
|
<span class="cm"> * No stream ID is available because maximum stream ID was</span>
|
||||||
<span class="cm"> * reached.</span>
|
<span class="cm"> * reached.</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
|
<span class="cm"> * .. warning::</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
|
<span class="cm"> * This function returns assigned stream ID if it succeeds. But</span>
|
||||||
|
<span class="cm"> * that stream is not opened yet. The application must not submit</span>
|
||||||
|
<span class="cm"> * frame to that stream ID before</span>
|
||||||
|
<span class="cm"> * :member:`nghttp2_session_callbacks.before_frame_send_callback` is</span>
|
||||||
|
<span class="cm"> * called for this frame.</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> */</span>
|
<span class="cm"> */</span>
|
||||||
<span class="kt">int32_t</span> <span class="nf">nghttp2_submit_request</span><span class="p">(</span><span class="n">nghttp2_session</span> <span class="o">*</span><span class="n">session</span><span class="p">,</span>
|
<span class="kt">int32_t</span> <span class="nf">nghttp2_submit_request</span><span class="p">(</span><span class="n">nghttp2_session</span> <span class="o">*</span><span class="n">session</span><span class="p">,</span>
|
||||||
<span class="k">const</span> <span class="n">nghttp2_priority_spec</span> <span class="o">*</span><span class="n">pri_spec</span><span class="p">,</span>
|
<span class="k">const</span> <span class="n">nghttp2_priority_spec</span> <span class="o">*</span><span class="n">pri_spec</span><span class="p">,</span>
|
||||||
|
@ -2449,12 +2452,6 @@
|
||||||
<span class="cm"> * specify flags directly. For usual HTTP request,</span>
|
<span class="cm"> * specify flags directly. For usual HTTP request,</span>
|
||||||
<span class="cm"> * `nghttp2_submit_request()` is useful.</span>
|
<span class="cm"> * `nghttp2_submit_request()` is useful.</span>
|
||||||
<span class="cm"> *</span>
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> * This function returns assigned stream ID if it succeeds and</span>
|
|
||||||
<span class="cm"> * |stream_id| is -1. But that stream is not opened yet. The</span>
|
|
||||||
<span class="cm"> * application must not submit frame to that stream ID before</span>
|
|
||||||
<span class="cm"> * :member:`nghttp2_session_callbacks.before_frame_send_callback` is</span>
|
|
||||||
<span class="cm"> * called for this frame.</span>
|
|
||||||
<span class="cm"> *</span>
|
|
||||||
<span class="cm"> * This function returns newly assigned stream ID if it succeeds and</span>
|
<span class="cm"> * This function returns newly assigned stream ID if it succeeds and</span>
|
||||||
<span class="cm"> * |stream_id| is -1. Otherwise, this function returns 0 if it</span>
|
<span class="cm"> * |stream_id| is -1. Otherwise, this function returns 0 if it</span>
|
||||||
<span class="cm"> * succeeds, or one of the following negative error codes:</span>
|
<span class="cm"> * succeeds, or one of the following negative error codes:</span>
|
||||||
|
@ -2464,6 +2461,15 @@
|
||||||
<span class="cm"> * :enum:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`</span>
|
<span class="cm"> * :enum:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`</span>
|
||||||
<span class="cm"> * No stream ID is available because maximum stream ID was</span>
|
<span class="cm"> * No stream ID is available because maximum stream ID was</span>
|
||||||
<span class="cm"> * reached.</span>
|
<span class="cm"> * reached.</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
|
<span class="cm"> * .. warning::</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
|
<span class="cm"> * This function returns assigned stream ID if it succeeds and</span>
|
||||||
|
<span class="cm"> * |stream_id| is -1. But that stream is not opened yet. The</span>
|
||||||
|
<span class="cm"> * application must not submit frame to that stream ID before</span>
|
||||||
|
<span class="cm"> * :member:`nghttp2_session_callbacks.before_frame_send_callback` is</span>
|
||||||
|
<span class="cm"> * called for this frame.</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> */</span>
|
<span class="cm"> */</span>
|
||||||
<span class="kt">int32_t</span> <span class="nf">nghttp2_submit_headers</span><span class="p">(</span><span class="n">nghttp2_session</span> <span class="o">*</span><span class="n">session</span><span class="p">,</span> <span class="kt">uint8_t</span> <span class="n">flags</span><span class="p">,</span>
|
<span class="kt">int32_t</span> <span class="nf">nghttp2_submit_headers</span><span class="p">(</span><span class="n">nghttp2_session</span> <span class="o">*</span><span class="n">session</span><span class="p">,</span> <span class="kt">uint8_t</span> <span class="n">flags</span><span class="p">,</span>
|
||||||
<span class="kt">int32_t</span> <span class="n">stream_id</span><span class="p">,</span>
|
<span class="kt">int32_t</span> <span class="n">stream_id</span><span class="p">,</span>
|
||||||
|
@ -2611,12 +2617,6 @@
|
||||||
<span class="cm"> * access it in :type:`nghttp2_before_frame_send_callback` and</span>
|
<span class="cm"> * access it in :type:`nghttp2_before_frame_send_callback` and</span>
|
||||||
<span class="cm"> * :type:`nghttp2_on_frame_send_callback` of this frame.</span>
|
<span class="cm"> * :type:`nghttp2_on_frame_send_callback` of this frame.</span>
|
||||||
<span class="cm"> *</span>
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> * This function returns assigned promised stream ID if it succeeds.</span>
|
|
||||||
<span class="cm"> * But that stream is not opened yet. The application must not submit</span>
|
|
||||||
<span class="cm"> * frame to that stream ID before</span>
|
|
||||||
<span class="cm"> * :member:`nghttp2_session_callbacks.before_frame_send_callback` is</span>
|
|
||||||
<span class="cm"> * called for this frame.</span>
|
|
||||||
<span class="cm"> *</span>
|
|
||||||
<span class="cm"> * The client side is not allowed to use this function.</span>
|
<span class="cm"> * The client side is not allowed to use this function.</span>
|
||||||
<span class="cm"> *</span>
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> * This function returns assigned promised stream ID if it succeeds,</span>
|
<span class="cm"> * This function returns assigned promised stream ID if it succeeds,</span>
|
||||||
|
@ -2630,6 +2630,15 @@
|
||||||
<span class="cm"> * :enum:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`</span>
|
<span class="cm"> * :enum:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`</span>
|
||||||
<span class="cm"> * No stream ID is available because maximum stream ID was</span>
|
<span class="cm"> * No stream ID is available because maximum stream ID was</span>
|
||||||
<span class="cm"> * reached.</span>
|
<span class="cm"> * reached.</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
|
<span class="cm"> * .. warning::</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
|
<span class="cm"> * This function returns assigned promised stream ID if it succeeds.</span>
|
||||||
|
<span class="cm"> * But that stream is not opened yet. The application must not</span>
|
||||||
|
<span class="cm"> * submit frame to that stream ID before</span>
|
||||||
|
<span class="cm"> * :member:`nghttp2_session_callbacks.before_frame_send_callback` is</span>
|
||||||
|
<span class="cm"> * called for this frame.</span>
|
||||||
|
<span class="cm"> *</span>
|
||||||
<span class="cm"> */</span>
|
<span class="cm"> */</span>
|
||||||
<span class="kt">int32_t</span> <span class="nf">nghttp2_submit_push_promise</span><span class="p">(</span><span class="n">nghttp2_session</span> <span class="o">*</span><span class="n">session</span><span class="p">,</span> <span class="kt">uint8_t</span> <span class="n">flags</span><span class="p">,</span>
|
<span class="kt">int32_t</span> <span class="nf">nghttp2_submit_push_promise</span><span class="p">(</span><span class="n">nghttp2_session</span> <span class="o">*</span><span class="n">session</span><span class="p">,</span> <span class="kt">uint8_t</span> <span class="n">flags</span><span class="p">,</span>
|
||||||
<span class="kt">int32_t</span> <span class="n">stream_id</span><span class="p">,</span>
|
<span class="kt">int32_t</span> <span class="n">stream_id</span><span class="p">,</span>
|
||||||
|
@ -3193,7 +3202,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>nghttp2ver.h — nghttp2 0.5.0-DEV documentation</title>
|
<title>nghttp2ver.h — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="prev" title="nghttp2.h" href="nghttp2.h.html"/>
|
<link rel="prev" title="nghttp2.h" href="nghttp2.h.html"/>
|
||||||
|
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@
|
||||||
<span class="cm"> * @macro</span>
|
<span class="cm"> * @macro</span>
|
||||||
<span class="cm"> * Version number of the nghttp2 library release</span>
|
<span class="cm"> * Version number of the nghttp2 library release</span>
|
||||||
<span class="cm"> */</span>
|
<span class="cm"> */</span>
|
||||||
<span class="cp">#define NGHTTP2_VERSION "0.5.0-DEV"</span>
|
<span class="cp">#define NGHTTP2_VERSION "0.4.1"</span>
|
||||||
|
|
||||||
<span class="cm">/**</span>
|
<span class="cm">/**</span>
|
||||||
<span class="cm"> * @macro</span>
|
<span class="cm"> * @macro</span>
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
<span class="cm"> * release. This is a 24 bit number with 8 bits for major number, 8 bits</span>
|
<span class="cm"> * release. This is a 24 bit number with 8 bits for major number, 8 bits</span>
|
||||||
<span class="cm"> * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.</span>
|
<span class="cm"> * for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.</span>
|
||||||
<span class="cm"> */</span>
|
<span class="cm"> */</span>
|
||||||
<span class="cp">#define NGHTTP2_VERSION_NUM 0x000500</span>
|
<span class="cp">#define NGHTTP2_VERSION_NUM 0x000401</span>
|
||||||
|
|
||||||
<span class="cp">#endif </span><span class="cm">/* NGHTTP2VER_H */</span><span class="cp"></span>
|
<span class="cp">#endif </span><span class="cm">/* NGHTTP2VER_H */</span><span class="cp"></span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
@ -222,7 +222,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>nghttpx - HOW-TO — nghttp2 0.5.0-DEV documentation</title>
|
<title>nghttpx - HOW-TO — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="API Reference" href="apiref.html"/>
|
<link rel="next" title="API Reference" href="apiref.html"/>
|
||||||
<link rel="prev" title="Tutorial: HTTP/2 server" href="tutorial-server.html"/>
|
<link rel="prev" title="Tutorial: HTTP/2 server" href="tutorial-server.html"/>
|
||||||
|
|
||||||
|
@ -378,7 +378,7 @@ do with HTTP/2 flow control.</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>nghttp2 - HTTP/2 C Library — nghttp2 0.5.0-DEV documentation</title>
|
<title>nghttp2 - HTTP/2 C Library — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="Tutorial: HTTP/2 client" href="tutorial-client.html"/>
|
<link rel="next" title="Tutorial: HTTP/2 client" href="tutorial-client.html"/>
|
||||||
<link rel="prev" title="nghttp2 - HTTP/2 C Library" href="index.html"/>
|
<link rel="prev" title="nghttp2 - HTTP/2 C Library" href="index.html"/>
|
||||||
|
|
||||||
|
@ -1203,7 +1203,7 @@ BaseRequestHandler usage:</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Python Module Index — nghttp2 0.5.0-DEV documentation</title>
|
<title>Python Module Index — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -191,7 +191,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Python API Reference — nghttp2 0.5.0-DEV documentation</title>
|
<title>Python API Reference — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="nghttp2.h" href="nghttp2.h.html"/>
|
<link rel="next" title="nghttp2.h" href="nghttp2.h.html"/>
|
||||||
<link rel="prev" title="API Reference" href="apiref.html"/>
|
<link rel="prev" title="API Reference" href="apiref.html"/>
|
||||||
|
|
||||||
|
@ -518,7 +518,7 @@ encoded using UTF-8.</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Search — nghttp2 0.5.0-DEV documentation</title>
|
<title>Search — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
|
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Tutorial: HTTP/2 client — nghttp2 0.5.0-DEV documentation</title>
|
<title>Tutorial: HTTP/2 client — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="Tutorial: HTTP/2 server" href="tutorial-server.html"/>
|
<link rel="next" title="Tutorial: HTTP/2 server" href="tutorial-server.html"/>
|
||||||
<link rel="prev" title="nghttp2 - HTTP/2 C Library" href="package_README.html"/>
|
<link rel="prev" title="nghttp2 - HTTP/2 C Library" href="package_README.html"/>
|
||||||
|
|
||||||
|
@ -1178,7 +1178,7 @@ here.</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Tutorial: HTTP/2 server — nghttp2 0.5.0-DEV documentation</title>
|
<title>Tutorial: HTTP/2 server — nghttp2 0.4.1 documentation</title>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<link rel="top" title="nghttp2 0.5.0-DEV documentation" href="index.html"/>
|
<link rel="top" title="nghttp2 0.4.1 documentation" href="index.html"/>
|
||||||
<link rel="next" title="nghttpx - HOW-TO" href="nghttpx-howto.html"/>
|
<link rel="next" title="nghttpx - HOW-TO" href="nghttpx-howto.html"/>
|
||||||
<link rel="prev" title="Tutorial: HTTP/2 client" href="tutorial-client.html"/>
|
<link rel="prev" title="Tutorial: HTTP/2 client" href="tutorial-client.html"/>
|
||||||
|
|
||||||
|
@ -1513,7 +1513,7 @@ stream is about to close and we no longer use that object.</p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT:'./',
|
URL_ROOT:'./',
|
||||||
VERSION:'0.5.0-DEV',
|
VERSION:'0.4.1',
|
||||||
COLLAPSE_INDEX:false,
|
COLLAPSE_INDEX:false,
|
||||||
FILE_SUFFIX:'.html',
|
FILE_SUFFIX:'.html',
|
||||||
HAS_SOURCE: false
|
HAS_SOURCE: false
|
||||||
|
|
Loading…
Reference in New Issue