Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ucpr/httpstat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

67 Commits

Repository files navigation

httpstat

Build Status

image

Requirements

  • curl

Build

nimble build

Install

nimble install

Usage

$ ./httpstat --help
 Usage: httpstat URL [CURL_OPTIONS]
 httpstat -h | --help
 httpstat --version
 Arguments:
 URL url to request, could be with or without `http(s)://` prefix
 Options:
 CURL_OPTIONS any curl supported options, except for -w -D -o -S -s,
 which are already used internally.
 -h --help show this screen.
 -v --version show version.
 Environments:
 HTTPSTAT_SHOW_BODY Set to `true` to show response body in the output,
 note that body length is limited to 1023 bytes, will be
 truncated if exceeds. Default is `false`.
 HTTPSTAT_SHOW_IP By default httpstat shows remote and local IP/port address.
 Set to `false` to disable this feature. Default is `true`.
 HTTPSTAT_SHOW_SPEED Set to `true` to show download and upload speed.
 Default is `false`.
 HTTPSTAT_SAVE_BODY By default httpstat stores body in a tmp file,
 set to `false` to disable this feature. Default is `true`
 HTTPSTAT_CURL_BIN Indicate the curl bin path to use. Default is `curl`
 from current shell $PATH.

simple :)

$ httpstat https://nim-lang.org/

Implementation

Author

taichi uchihara (@u_chi_ha_ra_)

License

MIT

About

"curl statistics made simple " in Nim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /