Files
tldr/pages.zh/common/httping.md

20 lines
461 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# httping
> 测量网页服务器的延迟和吞吐量。
> 更多信息:<https://manned.org/httping>。
- Ping指定的URL
`httping -g {{url}}`
- Ping指定`host``port`上的网页服务器:
`httping -h {{host}} -p {{port}}`
- 使用TLS连接Ping指定`host`上的网页服务器:
`httping -l -g https://{{host}}`
- 使用HTTP基本认证Ping指定`host`上的网页服务器:
`httping -g http://{{host}} -U {{username}} -P {{password}}`