An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          








[github](https://github.com/dr-montasir/ghttp)[crates.io](https://crates.io/crates/ghttp)[docs.rs](https://docs.rs/ghttp)[license](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

[![github](https://img.shields.io/badge/github-%20changelog-8da0cb?style=for-the-badge&labelColor=555555&logo=github)](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)