https://github.com/helloimalemur/rate-limit-testing
https://github.com/helloimalemur/rate-limit-testing
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/helloimalemur/rate-limit-testing
- Owner: helloimalemur
- Created: 2023-07-06T18:24:02.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-05T15:29:22.000Z (7 months ago)
- Last Synced: 2025-04-12T06:14:30.037Z (3 months ago)
- Language: Rust
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rate-limit-testing
## Install
```shell
$ cargo install rate-limit-testing
``````aiignore
Usage: rate-limit-testing [OPTIONS] -u -dOptions:
-u
-d
-p
-a
-m
-h, --help Print help
```### GET request
```shell
$ rate-limit-testing -u -d
```### POST request (automatically uses POST if payload/post_data is provided)
```shell
$ rate-limit-testing -u -d -p "the body"
```### Headers
```shell
$ rate-limit-testing -u -d -p "the body" -a "HEADER1: value, HEADER2: value"
```## Note;
#### A delay greater than 100 will be assumed to be in milliseconds
#### Delay less than 100 will be assumed as seconds## Development and Collaboration
#### Feel free to open a pull request, please run the following prior to your submission please!
echo "Run clippy"; cargo clippy -- -D clippy::all
echo "Format source code"; cargo fmt -- --check