Update doc
This commit is contained in:
parent
72c279c7b1
commit
bcc4717868
|
@ -1520,6 +1520,14 @@ Functions
|
|||
:macro:`NGHTTP2_ERR_NOMEM`
|
||||
Out of memory.
|
||||
|
||||
.. function:: int nghttp2_nv_compare_name(const nghttp2_nv *lhs, const nghttp2_nv *rhs)
|
||||
|
||||
|
||||
Compares lhs->name with lhs->namelen bytes and rhs->name with
|
||||
rhs->namelen bytes. Returns negative integer if lhs->name is found
|
||||
to be less than rhs->name; or returns positive integer if lhs->name
|
||||
is found to be greater than rhs->name; or returns 0 otherwise.
|
||||
|
||||
.. function:: int nghttp2_select_next_protocol(unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen)
|
||||
|
||||
|
||||
|
|
|
@ -20,5 +20,5 @@ Contents:
|
|||
Resources
|
||||
---------
|
||||
|
||||
* http://tools.ietf.org/html/draft-ietf-httpbis-http2-04
|
||||
* http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-01
|
||||
* http://tools.ietf.org/html/draft-ietf-httpbis-http2-06
|
||||
* http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-03
|
||||
|
|
|
@ -1945,6 +1945,15 @@ negative error codes:</p>
|
|||
</dl>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="function">
|
||||
<dt id="nghttp2_nv_compare_name">
|
||||
int <tt class="descname">nghttp2_nv_compare_name</tt><big>(</big>const <a class="reference internal" href="#nghttp2_nv" title="nghttp2_nv">nghttp2_nv</a><em> *lhs</em>, const <a class="reference internal" href="#nghttp2_nv" title="nghttp2_nv">nghttp2_nv</a><em> *rhs</em><big>)</big><a class="headerlink" href="#nghttp2_nv_compare_name" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Compares lhs->name with lhs->namelen bytes and rhs->name with
|
||||
rhs->namelen bytes. Returns negative integer if lhs->name is found
|
||||
to be less than rhs->name; or returns positive integer if lhs->name
|
||||
is found to be greater than rhs->name; or returns 0 otherwise.</p>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="function">
|
||||
<dt id="nghttp2_select_next_protocol">
|
||||
int <tt class="descname">nghttp2_select_next_protocol</tt><big>(</big>unsigned char<em> **out</em>, unsigned char<em> *outlen</em>, const unsigned char<em> *in</em>, unsigned int<em> inlen</em><big>)</big><a class="headerlink" href="#nghttp2_select_next_protocol" title="Permalink to this definition">¶</a></dt>
|
||||
|
|
|
@ -453,16 +453,20 @@
|
|||
</dt>
|
||||
|
||||
|
||||
<dt><a href="apiref.html#nghttp2_on_data_chunk_recv_callback">nghttp2_on_data_chunk_recv_callback (C type)</a>
|
||||
<dt><a href="apiref.html#nghttp2_nv_compare_name">nghttp2_nv_compare_name (C function)</a>
|
||||
</dt>
|
||||
|
||||
|
||||
<dt><a href="apiref.html#nghttp2_on_data_recv_callback">nghttp2_on_data_recv_callback (C type)</a>
|
||||
<dt><a href="apiref.html#nghttp2_on_data_chunk_recv_callback">nghttp2_on_data_chunk_recv_callback (C type)</a>
|
||||
</dt>
|
||||
|
||||
</dl></td>
|
||||
<td style="width: 33%" valign="top"><dl>
|
||||
|
||||
<dt><a href="apiref.html#nghttp2_on_data_recv_callback">nghttp2_on_data_recv_callback (C type)</a>
|
||||
</dt>
|
||||
|
||||
|
||||
<dt><a href="apiref.html#nghttp2_on_data_send_callback">nghttp2_on_data_send_callback (C type)</a>
|
||||
</dt>
|
||||
|
||||
|
|
|
@ -78,8 +78,8 @@ version 2.0.</p>
|
|||
<div class="section" id="resources">
|
||||
<h2>Resources<a class="headerlink" href="#resources" title="Permalink to this headline">¶</a></h2>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-04">http://tools.ietf.org/html/draft-ietf-httpbis-http2-04</a></li>
|
||||
<li><a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-01">http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-01</a></li>
|
||||
<li><a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-06">http://tools.ietf.org/html/draft-ietf-httpbis-http2-06</a></li>
|
||||
<li><a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-03">http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-03</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
|
@ -61,7 +61,7 @@ version 2.0.</p>
|
|||
<p>We started to implement HTTP-draft-06/2.0
|
||||
(<a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-06">http://tools.ietf.org/html/draft-ietf-httpbis-http2-06</a>) and the
|
||||
header compression
|
||||
(<a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-02">http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-02</a>).</p>
|
||||
(<a class="reference external" href="http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-03">http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-03</a>).</p>
|
||||
<p>The nghttp2 code base was forked from spdylay project.</p>
|
||||
<table border="1" class="docutils">
|
||||
<colgroup>
|
||||
|
@ -70,7 +70,7 @@ header compression
|
|||
</colgroup>
|
||||
<thead valign="bottom">
|
||||
<tr class="row-odd"><th class="head">Features</th>
|
||||
<th class="head">HTTP-draft-04/2.0</th>
|
||||
<th class="head">HTTP-draft-06/2.0</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody valign="top">
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue