#product-os #http-request #requests #ureq #async-http #featured #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

35 releases

new 0.0.35 Apr 22, 2024
0.0.34 Apr 22, 2024
0.0.18 Dec 19, 2023
0.0.16 Nov 30, 2023
0.0.5 Aug 21, 2023

#582 in Network programming

Download history 30/week @ 2024-01-04 44/week @ 2024-01-11 25/week @ 2024-01-18 20/week @ 2024-01-25 11/week @ 2024-02-01 27/week @ 2024-02-08 33/week @ 2024-02-15 291/week @ 2024-02-22 112/week @ 2024-02-29 53/week @ 2024-03-07 62/week @ 2024-03-14 71/week @ 2024-03-21 98/week @ 2024-03-28 258/week @ 2024-04-04 1098/week @ 2024-04-11 863/week @ 2024-04-18

2,323 downloads per month
Used in 17 crates (12 directly)

AGPL-3.0-only

59KB
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.35", 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.4–15MB
~234K SLoC