<center>

## http-type

[![](https://img.shields.io/crates/v/http-type.svg)](https://crates.io/crates/http-type)
[![](https://img.shields.io/crates/d/http-type.svg)](https://img.shields.io/crates/d/http-type.svg)
[![](https://docs.rs/http-type/badge.svg)](https://docs.rs/http-type)
[![](https://github.com/crates-dev/http-type/workflows/Rust/badge.svg)](https://github.com/crates-dev/http-type/actions?query=workflow:Rust)
[![](https://img.shields.io/crates/l/http-type.svg)](./LICENSE)

</center>

[Official Documentation](https://docs.ltpp.vip/http-type/)

[Api Docs](https://docs.rs/http-type/latest/)

> A comprehensive Rust type library for HTTP operations and concurrent programming. Provides core HTTP types (Request/Response with builder patterns, Method, HttpStatus, HttpVersion, ContentType, FileExtension with MIME mapping, Cookie parsing/building, HttpUrl parsing, WebSocket frame/opcode, protocol upgrade types, stream/task management, panic handling), thread-safe concurrent wrappers (ArcMutex, ArcRwLock, BoxRwLock, RcRwLock), dynamic dispatch types (BoxAny, RcAny, ArcAny with Send/Sync variants), high-performance hash collections (HashMapXxHash3_64, HashSetXxHash3_64), and static lifetime utilities (BoxLeak, Lifetime trait).

## Installation

To use this crate, you can run cmd:

```shell
cargo add http-type
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## Contact

For any inquiries, please reach out to the author at [root@ltpp.vip](mailto:root@ltpp.vip).
