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
- Status Code Implementation
- Custom Status Handling
- Expand Accessibility
- User-Friendly API
- No Dependencies
Installation
Run the following Cargo command in your project directory:
cargo add ghttp
Or add the following line to your Cargo.toml:
[dependencies]
ghttp = "MAJOR.MINOR.PATCH" # Replace with the latest version
Changelog
Documentation
For a detailed API reference, visit the GHTTP Documentation.
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