https://github.com/dr-montasir/ghttp
A Rust crate for building HTTP clients and servers with a focus on performance, ease of use, and global configurations
https://github.com/dr-montasir/ghttp
http status url
Last synced: 4 months ago
JSON representation
A Rust crate for building HTTP clients and servers with a focus on performance, ease of use, and global configurations
- Host: GitHub
- URL: https://github.com/dr-montasir/ghttp
- Owner: dr-montasir
- Created: 2024-10-14T12:18:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-16T21:32:07.000Z (about 1 year ago)
- Last Synced: 2025-09-27T22:17:15.635Z (4 months ago)
- Topics: http, status, url
- Language: Rust
- Homepage: https://crates.io/crates/ghttp
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[
](https://github.com/dr-montasir/ghttp)[
](https://crates.io/crates/ghttp)[
](https://docs.rs/ghttp)[
](https://choosealicense.com/licenses/apache-2.0)
GHTTP (Global HTTP)
A Rust crate for building HTTP clients and servers with a focus on performance, ease of use, and global configurations
## Features
- **Global Configuration:** Simplifies setting and sharing default configurations across multiple HTTP requests, reducing boilerplate code.
- **Flexible Client Creation:** Enables the creation of customizable HTTP clients tailored to specific needs.
- **Support for Various Protocols:** Compatible with HTTP/1.1 and HTTP/2, enhancing flexibility for different use cases.
- **Broad Coverage:** Supports a wide range of HTTP status codes, providing a comprehensive framework for understanding and managing various web server responses effectively. This coverage facilitates seamless integration and error handling for developers.
## Goals
- [x] Status Code Implementation
- [x] Custom Status Handling
- [x] Expand Accessibility
- [x] User-Friendly API
- [ ] No Dependencies
## Installation
Run the following Cargo command in your project directory:
```shell
cargo add ghttp
```
Or add the following line to your Cargo.toml:
```shell
[dependencies]
ghttp = "MAJOR.MINOR.PATCH" # Replace with the latest version
```
## Changelog
[](https://github.com/dr-montasir/ghttp/blob/main/CHANGELOG.md)
## Documentation
For a detailed API reference, visit the [GHTTP Documentation](https://docs.rs/ghttp/latest/ghttp).
## Contributing
Contributions are welcome! If you have suggestions or improvements, feel free to submit an issue or a pull request.
## License
This project is licensed under the MIT or Apache 2.0 License - see the LICENSE file for details.
---
Author
[Dr. Montasir Mirghani](https://github.com/dr-montasir)