#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

new 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

#916 in Network programming

Download history 72/week @ 2024-07-13 39/week @ 2024-07-20 63/week @ 2024-07-27 57/week @ 2024-08-03 77/week @ 2024-08-10 33/week @ 2024-08-17 45/week @ 2024-08-24 54/week @ 2024-08-31 28/week @ 2024-09-07 52/week @ 2024-09-14 138/week @ 2024-09-21 38/week @ 2024-09-28 7/week @ 2024-10-05 18/week @ 2024-10-12 26/week @ 2024-10-19 35/week @ 2024-10-26

95 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
~227K SLoC