2014-10-14 16:30:44 +02:00
|
|
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.46.4.
|
2014-11-08 14:55:24 +01:00
|
|
|
.TH NGHTTP "1" "November 2014" "nghttp nghttp2/0.6.6" "User Commands"
|
2014-02-15 08:46:11 +01:00
|
|
|
.SH NAME
|
2014-05-16 16:54:09 +02:00
|
|
|
nghttp \- HTTP/2 experimental client
|
2014-02-15 08:46:11 +01:00
|
|
|
.SH SYNOPSIS
|
2014-05-16 16:54:09 +02:00
|
|
|
.B nghttp
|
|
|
|
[\fI\,OPTIONS\/\fR]... \fI\,<URI>\/\fR...
|
2014-02-15 08:46:11 +01:00
|
|
|
.SH DESCRIPTION
|
2014-05-16 16:54:09 +02:00
|
|
|
HTTP/2 experimental client
|
|
|
|
.TP
|
|
|
|
<URI>
|
|
|
|
Specify URI to access.
|
2014-02-15 08:46:11 +01:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
\fB\-v\fR, \fB\-\-verbose\fR
|
2014-05-16 16:54:09 +02:00
|
|
|
Print debug information such as reception and
|
2014-11-08 14:55:24 +01:00
|
|
|
transmission of frames and name/value pairs.
|
|
|
|
Specifying this option multiple times increases
|
|
|
|
verbosity.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-n\fR, \fB\-\-null\-out\fR
|
|
|
|
Discard downloaded data.
|
|
|
|
.TP
|
|
|
|
\fB\-O\fR, \fB\-\-remote\-name\fR
|
2014-05-16 16:54:09 +02:00
|
|
|
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.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-t\fR, \fB\-\-timeout=\fR<N>
|
|
|
|
Timeout each request after <N> seconds.
|
|
|
|
.TP
|
|
|
|
\fB\-w\fR, \fB\-\-window\-bits=\fR<N>
|
2014-05-16 16:54:09 +02:00
|
|
|
Sets the stream level initial window size to
|
|
|
|
2**<N>\-1.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-W\fR, \fB\-\-connection\-window\-bits=\fR<N>
|
2014-05-16 16:54:09 +02:00
|
|
|
Sets the connection level initial window size to
|
|
|
|
2**<N>\-1.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-a\fR, \fB\-\-get\-assets\fR
|
2014-05-16 16:54:09 +02:00
|
|
|
Download assets such as stylesheets, images and
|
|
|
|
script files linked from the downloaded resource.
|
|
|
|
Only links whose origins are the same with the
|
2014-10-27 16:35:44 +01:00
|
|
|
linking resource will be downloaded. nghttp
|
|
|
|
prioritizes resources using HTTP/2 dependency
|
|
|
|
based priority. The priority order, from highest
|
|
|
|
to lowest, is html itself, css, javascript and
|
|
|
|
images.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-s\fR, \fB\-\-stat\fR
|
|
|
|
Print statistics.
|
|
|
|
.TP
|
2014-10-27 16:35:44 +01:00
|
|
|
\fB\-H\fR, \fB\-\-header=\fR<HEADER>
|
|
|
|
Add a header to the requests. Example:
|
|
|
|
\fB\-H\fR':method: PUT'
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-cert=\fR<CERT>
|
2014-05-16 16:54:09 +02:00
|
|
|
Use the specified client certificate file. The
|
|
|
|
file must be in PEM format.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-\-key=\fR<KEY>
|
2014-05-16 16:54:09 +02:00
|
|
|
Use the client private key file. The file must
|
|
|
|
be in PEM format.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-d\fR, \fB\-\-data=\fR<FILE>
|
2014-05-16 16:54:09 +02:00
|
|
|
Post FILE to server. If '\-' is given, data will
|
|
|
|
be read from stdin.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
2014-05-16 16:54:09 +02:00
|
|
|
\fB\-m\fR, \fB\-\-multiply=\fR<N> Request each URI <N> times.
|
|
|
|
By default, same URI
|
|
|
|
is not requested twice. This option disables it
|
|
|
|
too.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-u\fR, \fB\-\-upgrade\fR
|
2014-05-16 16:54:09 +02:00
|
|
|
Perform HTTP Upgrade for HTTP/2. This option is
|
|
|
|
ignored if the request URI has https scheme. If
|
|
|
|
\fB\-d\fR is used, the HTTP upgrade request is performed
|
|
|
|
with OPTIONS method.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
2014-05-16 16:54:09 +02:00
|
|
|
\fB\-p\fR, \fB\-\-weight=\fR<WEIGHT>
|
|
|
|
Sets priority group weight. The valid value
|
|
|
|
range is [1, 256], inclusive.
|
|
|
|
Default: 16
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-M\fR, \fB\-\-peer\-max\-concurrent\-streams=\fR<N>
|
2014-05-16 16:54:09 +02:00
|
|
|
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.
|
2014-02-15 08:46:11 +01:00
|
|
|
.TP
|
|
|
|
\fB\-c\fR, \fB\-\-header\-table\-size=\fR<N>
|
|
|
|
Specify decoder header table size.
|
|
|
|
.TP
|
2014-05-16 16:54:09 +02:00
|
|
|
\fB\-b\fR, \fB\-\-padding=\fR<N>
|
|
|
|
Add at most <N> bytes to a frame payload as
|
|
|
|
padding. Specify 0 to disable padding.
|
|
|
|
.TP
|
2014-02-15 08:46:11 +01:00
|
|
|
\fB\-\-color\fR
|
|
|
|
Force colored log output.
|
2014-05-16 16:54:09 +02:00
|
|
|
.TP
|
|
|
|
\fB\-\-continuation\fR
|
|
|
|
Send large header to test CONTINUATION.
|
|
|
|
.TP
|
2014-07-08 17:38:43 +02:00
|
|
|
\fB\-\-no\-content\-length\fR
|
|
|
|
Don't send content\-length header field.
|
|
|
|
.TP
|
2014-05-16 16:54:09 +02:00
|
|
|
\fB\-\-version\fR
|
|
|
|
Display version information and exit.
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
|
|
Display this help and exit.
|
2014-02-15 08:46:11 +01:00
|
|
|
.SH "SEE ALSO"
|
2014-05-16 16:54:09 +02:00
|
|
|
|
|
|
|
nghttpd(1), nghttpx(1), h2load(1)
|