{"id":18756931,"url":"https://github.com/aiursoftweb/httping","last_synced_at":"2025-04-13T02:03:47.439Z","repository":{"id":211209046,"uuid":"728110040","full_name":"AiursoftWeb/Httping","owner":"AiursoftWeb","description":"Mirror of https://gitlab.aiursoft.cn/aiursoft/httping","archived":false,"fork":false,"pushed_at":"2025-04-10T06:17:19.000Z","size":94,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T07:27:34.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AiursoftWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-06T08:50:32.000Z","updated_at":"2025-04-10T06:17:23.000Z","dependencies_parsed_at":"2024-03-31T09:23:34.232Z","dependency_job_id":"2e9f7900-1921-46c7-91da-92cc5aea6684","html_url":"https://github.com/AiursoftWeb/Httping","commit_stats":null,"previous_names":["aiursoftweb/httping"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FHttping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FHttping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FHttping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AiursoftWeb%2FHttping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AiursoftWeb","download_url":"https://codeload.github.com/AiursoftWeb/Httping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654087,"owners_count":21140235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T17:38:46.162Z","updated_at":"2025-04-13T02:03:47.424Z","avatar_url":"https://github.com/AiursoftWeb.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Httping\n\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitlab.aiursoft.cn/aiursoft/httping/-/blob/master/LICENSE)\n[![Pipeline stat](https://gitlab.aiursoft.cn/aiursoft/httping/badges/master/pipeline.svg)](https://gitlab.aiursoft.cn/aiursoft/httping/-/pipelines)\n[![Test Coverage](https://gitlab.aiursoft.cn/aiursoft/httping/badges/master/coverage.svg)](https://gitlab.aiursoft.cn/aiursoft/httping/-/pipelines)\n[![NuGet version (Aiursoft.Httping)](https://img.shields.io/nuget/v/Aiursoft.Httping.svg)](https://www.nuget.org/packages/Aiursoft.Httping/)\n[![ManHours](https://manhours.aiursoft.cn/r/gitlab.aiursoft.cn/aiursoft/httping.svg)](https://gitlab.aiursoft.cn/aiursoft/httping/-/commits/master?ref_type=heads)\n\nHttping is a simple HTTP ping tool. It can ping a website and get the response time.\n\n## Installation\n\nRequirements:\n\n1. [.NET 9 SDK](http://dot.net/)\n\nRun the following command to install this tool:\n\n```bash\ndotnet tool install --global Aiursoft.Httping\n```\n\n## Usage\n\nAfter getting the binary, run it directly in the terminal.\n\n```bash\n$ httping www.bing.com\n```\n\nThat's it! It will ping the website and get the response time.\n\n```bash\n1: 1.1, www.bing.com:443, code=OK, size=40744 bytes, time=837.8612 ms\n2: 1.1, www.bing.com:443, code=OK, size=40675 bytes, time=418.0189 ms\n3: 1.1, www.bing.com:443, code=OK, size=40675 bytes, time=413.7146 ms\n4: 1.1, www.bing.com:443, code=OK, size=40675 bytes, time=407.5908 ms\n\nPing statistics for www.bing.com\n    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),\nApproximate round trip times in milli-seconds:\n    Minimum = 407.5908ms, Maximum = 837.8612ms, Average = 519.2964ms\n```\n\nAnd it support options:\n\n```bash\nOptions:\n  --server \u003cserver\u003e (REQUIRED)  The server address to ping. Can be a domain name or an IP address.\n  -n, --count \u003ccount\u003e           The number of echo requests to send. The default is 4. [default: 4]\n  -w, --timeout \u003ctimeout\u003e       Timeout in milliseconds to wait for each reply. The default is 5000. [default: 5000]\n  -i, --interval \u003cinterval\u003e     Time in milliseconds to wait between pings. The default is 1000. [default: 1000]\n  -k, --insecure                Allow insecure server connections when using SSL. [default: False]\n  -q, --quiet                   Quiet output. Nothing is displayed except the summary lines at startup time and when finished. [default: False]\n  -f, --follow-redirect         Follow HTTP redirects. [default: False]\n  -v, --verbose                 Show detailed log\n  --version                     Show version information\n  -?, -h, --help                Show help and usage information\n```\n\n## Run locally\n\nRequirements about how to run\n\n1. [.NET 9 SDK](http://dot.net/)\n2. Execute `dotnet run` to run the app\n\n## Run in Microsoft Visual Studio\n\n1. Open the `.sln` file in the project path.\n2. Press `F5`.\n\n## How to contribute\n\nThere are many ways to contribute to the project: logging bugs, submitting pull requests, reporting issues, and creating suggestions.\n\nEven 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.\n\nWe'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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiursoftweb%2Fhttping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiursoftweb%2Fhttping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiursoftweb%2Fhttping/lists"}