<liclass="toctree-l2"><aclass="reference internal"href="package_README.html#client-server-and-proxy-programs">Client, Server and Proxy programs</a></li>
<liclass="toctree-l2"><aclass="reference internal"href="nghttpx-howto.html#specifying-additional-ca-certificate">Specifying additional CA certificate</a></li>
<h2>DESCRIPTION<aclass="headerlink"href="#description"title="Permalink to this headline">¶</a></h2>
<p>HTTP/2 experimental client</p>
<dlclass="option">
<dtid="cmdoption-nghttp-arg-URI">
<ttclass="descname">URI</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-arg-URI"title="Permalink to this definition">¶</a></dt>
<dd><p>Specify URI to access.</p>
</dd></dl>
</div>
<divclass="section"id="options">
<h2>OPTIONS<aclass="headerlink"href="#options"title="Permalink to this headline">¶</a></h2>
<dlclass="option">
<dtid="cmdoption-nghttp-v">
<spanid="cmdoption-nghttp--verbose"></span><ttclass="descname">-v</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--verbose</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-v"title="Permalink to this definition">¶</a></dt>
<dd><p>Print debug information such as reception and
transmission of frames and name/value pairs.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-n">
<spanid="cmdoption-nghttp--null-out"></span><ttclass="descname">-n</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--null-out</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-n"title="Permalink to this definition">¶</a></dt>
<dd><p>Discard downloaded data.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-O">
<spanid="cmdoption-nghttp--remote-name"></span><ttclass="descname">-O</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--remote-name</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-O"title="Permalink to this definition">¶</a></dt>
<dd><p>Save download data in the current directory. The
filename is dereived from URI. If URI ends with
&’/’, ‘index.html’ is used as a filename. Not
implemented yet.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-t">
<spanid="cmdoption-nghttp--timeout"></span><ttclass="descname">-t</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--timeout</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-t"title="Permalink to this definition">¶</a></dt>
<dd><p>Timeout each request after <N> seconds.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-w">
<spanid="cmdoption-nghttp--window-bits"></span><ttclass="descname">-w</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--window-bits</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-w"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the stream level initial window size to
2**<N>-1.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-W">
<spanid="cmdoption-nghttp--connection-window-bits"></span><ttclass="descname">-W</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--connection-window-bits</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-W"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the connection level initial window size to
2**<N>-1.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-a">
<spanid="cmdoption-nghttp--get-assets"></span><ttclass="descname">-a</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--get-assets</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-a"title="Permalink to this definition">¶</a></dt>
<dd><p>Download assets such as stylesheets, images and
script files linked from the downloaded resource.
Only links whose origins are the same with the
linking resource will be downloaded.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-s">
<spanid="cmdoption-nghttp--stat"></span><ttclass="descname">-s</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--stat</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-s"title="Permalink to this definition">¶</a></dt>
<dd><p>Print statistics.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-H">
<spanid="cmdoption-nghttp--header"></span><ttclass="descname">-H</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--header</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-H"title="Permalink to this definition">¶</a></dt>
<dd><p>Add a header to the requests.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp--cert">
<ttclass="descname">--cert</tt><ttclass="descclassname">=<CERT></tt><aclass="headerlink"href="#cmdoption-nghttp--cert"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the specified client certificate file. The
file must be in PEM format.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp--key">
<ttclass="descname">--key</tt><ttclass="descclassname">=<KEY></tt><aclass="headerlink"href="#cmdoption-nghttp--key"title="Permalink to this definition">¶</a></dt>
<dd><p>Use the client private key file. The file must
be in PEM format.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-d">
<spanid="cmdoption-nghttp--data"></span><ttclass="descname">-d</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--data</tt><ttclass="descclassname">=<FILE></tt><aclass="headerlink"href="#cmdoption-nghttp-d"title="Permalink to this definition">¶</a></dt>
<dd><p>Post FILE to server. If ‘-‘ is given, data will
be read from stdin.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-m">
<spanid="cmdoption-nghttp--multiply"></span><ttclass="descname">-m</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--multiply</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-m"title="Permalink to this definition">¶</a></dt>
<dd><p>Request each URI <N> times.
By default, same URI
is not requested twice. This option disables it
too.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-u">
<spanid="cmdoption-nghttp--upgrade"></span><ttclass="descname">-u</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--upgrade</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-u"title="Permalink to this definition">¶</a></dt>
<dd><p>Perform HTTP Upgrade for HTTP/2. This option is
ignored if the request URI has https scheme. If
<aclass="reference internal"href="#cmdoption-nghttp-d"><emclass="xref std std-option">-d</em></a> is used, the HTTP upgrade request is performed
with OPTIONS method.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-p">
<spanid="cmdoption-nghttp--weight"></span><ttclass="descname">-p</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--weight</tt><ttclass="descclassname">=<WEIGHT></tt><aclass="headerlink"href="#cmdoption-nghttp-p"title="Permalink to this definition">¶</a></dt>
<dd><p>Sets priority group weight. The valid value
range is [1, 256], inclusive.
Default: 16</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-M">
<spanid="cmdoption-nghttp--peer-max-concurrent-streams"></span><ttclass="descname">-M</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--peer-max-concurrent-streams</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-M"title="Permalink to this definition">¶</a></dt>
<dd><p>Use <N> as SETTINGS_MAX_CONCURRENT_STREAMS value
of remote endpoint as if it is received in
SETTINGS frame. The default is large enough as
it is seen as unlimited.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-c">
<spanid="cmdoption-nghttp--header-table-size"></span><ttclass="descname">-c</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--header-table-size</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-c"title="Permalink to this definition">¶</a></dt>
<dd><p>Specify decoder header table size.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-b">
<spanid="cmdoption-nghttp--padding"></span><ttclass="descname">-b</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--padding</tt><ttclass="descclassname">=<N></tt><aclass="headerlink"href="#cmdoption-nghttp-b"title="Permalink to this definition">¶</a></dt>
<dd><p>Add at most <N> bytes to a frame payload as
padding. Specify 0 to disable padding.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp--color">
<ttclass="descname">--color</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp--color"title="Permalink to this definition">¶</a></dt>
<dd><p>Force colored log output.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp--continuation">
<ttclass="descname">--continuation</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp--continuation"title="Permalink to this definition">¶</a></dt>
<dd><p>Send large header to test CONTINUATION.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp--no-content-length">
<ttclass="descname">--no-content-length</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp--no-content-length"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">--version</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp--version"title="Permalink to this definition">¶</a></dt>
<dd><p>Display version information and exit.</p>
</dd></dl>
<dlclass="option">
<dtid="cmdoption-nghttp-h">
<spanid="cmdoption-nghttp--help"></span><ttclass="descname">-h</tt><ttclass="descclassname"></tt><ttclass="descclassname">, </tt><ttclass="descname">--help</tt><ttclass="descclassname"></tt><aclass="headerlink"href="#cmdoption-nghttp-h"title="Permalink to this definition">¶</a></dt>
<dd><p>Display this help and exit.</p>
</dd></dl>
</div>
<divclass="section"id="see-also">
<h2>SEE ALSO<aclass="headerlink"href="#see-also"title="Permalink to this headline">¶</a></h2>