Aiursoft.Httping 8.0.6

dotnet tool install --global Aiursoft.Httping --version 8.0.6                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Aiursoft.Httping --version 8.0.6                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Aiursoft.Httping&version=8.0.6                
nuke :add-package Aiursoft.Httping --version 8.0.6                

Httping

MIT licensed Pipeline stat Test Coverage NuGet version (Aiursoft.Httping) ManHours

Httping is a simple HTTP ping tool. It can ping a website and get the response time.

Install

Requirements:

  1. .NET 8 SDK

Run the following command to install this tool:

dotnet tool install --global Aiursoft.Httping

Usage

After getting the binary, run it directly in the terminal.

$ httping www.bing.com

That's it! It will ping the website and get the response time.

1: 1.1, www.bing.com:443, code=OK, size=40744 bytes, time=837.8612 ms
2: 1.1, www.bing.com:443, code=OK, size=40675 bytes, time=418.0189 ms
3: 1.1, www.bing.com:443, code=OK, size=40675 bytes, time=413.7146 ms
4: 1.1, www.bing.com:443, code=OK, size=40675 bytes, time=407.5908 ms

Ping statistics for www.bing.com
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 407.5908ms, Maximum = 837.8612ms, Average = 519.2964ms

And it support options:

Options:
  --server <server> (REQUIRED)  The server address to ping. Can be a domain name or an IP address.
  -n, --count <count>           The number of echo requests to send. The default is 4. [default: 4]
  -w, --timeout <timeout>       Timeout in milliseconds to wait for each reply. The default is 5000. [default: 5000]
  -i, --interval <interval>     Time in milliseconds to wait between pings. The default is 1000. [default: 1000]
  -k, --insecure                Allow insecure server connections when using SSL. [default: False]
  -q, --quiet                   Quiet output. Nothing is displayed except the summary lines at startup time and when finished. [default: False]
  -f, --follow-redirect         Follow HTTP redirects. [default: False]
  -v, --verbose                 Show detailed log
  --version                     Show version information
  -?, -h, --help                Show help and usage information

Run locally

Requirements about how to run

  1. .NET 8 SDK
  2. Execute dotnet run to run the app

Run in Microsoft Visual Studio

  1. Open the .sln file in the project path.
  2. Press F5.

How to contribute

There are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.

Even if you with push rights on the repository, you should create a personal fork and create feature branches there when you need them. This keeps the main repository clean and your workflow cruft out of sight.

We're also interested in your feedback on the future of this project. You can submit a suggestion or feature request through the issue tracker. To make this process more effective, we're asking that these include more information to help define them more clearly.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
8.0.6 118 10/10/2024
8.0.5 86 10/7/2024
8.0.4 84 10/7/2024
8.0.3 114 7/10/2024
8.0.2 160 6/29/2024
8.0.1 114 6/28/2024
8.0.0 268 2/19/2024
1.0.12 193 2/2/2024
1.0.11 173 1/30/2024
1.0.10 312 12/12/2023
1.0.9 179 12/12/2023
1.0.8 179 12/12/2023
1.0.7 202 12/6/2023
1.0.6 198 12/6/2023
1.0.5 180 12/6/2023
1.0.4 203 12/6/2023
1.0.3 183 12/6/2023
1.0.1 181 12/6/2023