From 6b18a163214a8dd47736e7027cb10e03e3b32e51 Mon Sep 17 00:00:00 2001 From: thiswind <23764+thiswind@users.noreply.github.com> Date: Mon, 11 Feb 2019 04:06:43 +0800 Subject: [PATCH] httping: add page (#2768) --- pages/common/httping.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/httping.md diff --git a/pages/common/httping.md b/pages/common/httping.md new file mode 100644 index 000000000..f1ff991ed --- /dev/null +++ b/pages/common/httping.md @@ -0,0 +1,19 @@ +# httping + +> Measure the latency and throughput of a web server. + +- Ping the web server on `host`: + +`httping -g {{host}}` + +- Ping the web server on `host` and `port`: + +`httping -h {{host}} -p {{port}}` + +- Ping the web server on `host` using a TLS connection: + +`httping -l -g https://{{host}}` + +- Ping the web server on `host` using HTTP basic authentication: + +`httping -g http://{{host}} -U {{username}} -P {{password}}`