| Crates.io | monoio-netreq |
| lib.rs | monoio-netreq |
| version | 0.1.2 |
| created_at | 2025-01-20 12:08:40.158993+00 |
| updated_at | 2025-02-06 07:38:53.983738+00 |
| description | monoio-netreq is a user-friendly HTTP client library designed for use with the Monoio runtime |
| homepage | |
| repository | https://github.com/ReflxzR/monoio-netreq |
| max_upload_size | |
| id | 1523839 |
| size | 106,665 |
monoio-netreq is a user-friendly HTTP client library designed for use with the Monoio runtime.
It is built on top of monoio-transports and monoio-http.
Support for HTTP/1.1 and HTTP/2 protocols.
TLS support with both native-tls and rustls for secure connections.
Connection pooling for efficient resource management.
Optional feature for a Hyper-based client.
Hyper client includes TLS support with both native-tls and rustls.
This crate uses monoio-transports as a dependency, sourced from this forked repository. By default, the crate re-exports monoio-transports from crates.io. Below are the main feature flags available in this crate:
monoio-transports crate available on crates.io.monoio-transports. Enable this flag if you want to customize pool options with the default HttpConnector.io_uring features of Monoio and enables the tokio-compat legacy feature. Use this only if you need TLS support with HyperConnectors.Other available feature flags include:
hypernative-tlspool-hyperpool-native-tlshyper-native-tlsAll Hyper-related features are gated behind the hyper flag. The native-tls feature enables native TLS support, while rustls is used as the default TLS implementation.
For implementation details, please refer to examples
(Credits to respective authors for the monoio packages)