#product-os #http-request #async-http #requests #sync #ureq #helper

no-std product-os-request

Product OS : Request provides a fully featured HTTP request library combining elements of reqwest and ureq for both sync and async requests with a series of helper methods to allow for easier usage depending upon your needs for one-time or repeat usage

38 releases

0.0.39 Nov 2, 2024
0.0.38 Jun 12, 2024
0.0.37 May 16, 2024
0.0.18 Dec 19, 2023
0.0.16 Nov 30, 2023

#768 in Network programming

Download history 63/week @ 2024-07-29 100/week @ 2024-08-05 37/week @ 2024-08-12 29/week @ 2024-08-19 77/week @ 2024-08-26 14/week @ 2024-09-02 43/week @ 2024-09-09 47/week @ 2024-09-16 142/week @ 2024-09-23 24/week @ 2024-09-30 7/week @ 2024-10-07 18/week @ 2024-10-14 45/week @ 2024-10-21 129/week @ 2024-10-28 62/week @ 2024-11-04 23/week @ 2024-11-11

260 downloads per month
Used in 17 crates (12 directly)

AGPL-3.0-only

58KB
1K SLoC

Product OS : Request

Product OS : Request provides a fully featured HTTP request library combining elements of reqwest and ureq for both sync and async requests with a series of helper methods to allow for easier usage depending upon your needs for one-time or repeat usage.

What is Product OS?

Product OS is a collection of packages that provide different tools and features that can work together to build products more easily for the Rust ecosystem.

Installation

Use the Rust crate package manager cargo to install Product OS : Request.

cargo add product-os-request

or add Product OS : Request to your cargo.toml [packages] section.

product-os-request = { version = "0.0.39", features = [], default-features = true, optional = false }

Features

Product OS Request supports a number of features leveraging the existing Rust libraries of Reqwest and Ureq including:

  • Default support for HTTPS / TLS using Rustls
  • A requester concept for managing multiple requests
  • One-time request support
  • Sync and async requests
  • Customer Request and Response structs
  • Helpers for managing conditions such as managing specific trusted certificates
  • Helpers for defining redirect policies
  • Requester build flows to ensure specific settings are defined
  • Support no_std with alloc only environments
// Feature samples TODO

Usage

// Examples TODO

Contributing

Contributions are not currently available but will be available on a public repository soon.

License

GNU AGPLv3

Dependencies

~0.3–14MB
~230K SLoC