http-stat

Crates.iohttp-stat
lib.rshttp-stat
version
sourcesrc
created_at2025-05-04 05:01:37.893789+00
updated_at2025-05-11 13:10:09.771105+00
descriptionhttpstat visualizes curl(1) statistics in a way of beauty and clarity.
homepagehttps://github.com/vicanso/http-stat-rs
repositoryhttps://github.com/vicanso/http-stat-rs
max_upload_size
id1659375
Cargo.toml error:TOML parse error at line 20, column 1 | 20 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Tree Xie (vicanso)

documentation

README

http-stat-rs

Imitation is the sincerest form of flattery.

Pure rust version of http statistics, which refer to httpstat.It supports http1, http2 and http3, default alpn is h2, http/1.1

  • Supports http1, http2 and http3

  • Default alpn is h2, http/1.1

  • Supports multi compression: gzip, br, zstd

中文

screenshot

Release

Pre-built binaries for windows, macos and linux.

Installation

cargo install http-stat

Usage

httpstat --http3 https://cloudflare-quic.com/

Features

httpstat visualizes curl(1) statistics in a way of beauty and clarity.

Usage: httpstat [OPTIONS] [URL_ARG]

Arguments:
  [URL_ARG]  url to request

Options:
  -u, --url <URL>          URL to request (optional, can be provided as the last argument)
  -H <HEADERS>             set HTTP header; repeatable: -H 'Accept: ...' -H 'Range: ...'
  -4                       resolve host to ipv4 only
  -6                       resolve host to ipv6 only
  -k                       skip verify tls certificate
  -o <OUTPUT>              output file
  -L                       follow 30x redirects
  -X <METHOD>              HTTP method to use (default GET)
  -d, --data <DATA>        the body of a POST or PUT request; from file use @filename
      --resolve <RESOLVE>  Resolve host to specific IP address (format: HOST:PORT:ADDRESS, e.g. example.com:80:1.2.3.4)
      --compressed         request compressed response: gzip, br, zstd
      --http3              use http/3
      --http2              use http/2
      --http1              use http/1.1
  -h, --help               Print help
  -V, --version            Print version

License

http-stats-rs is provided under the MIT license. See LICENSE.

Commit count: 0

cargo fmt