https://github.com/imp/reqwest-response-ext-rs
Extension trait for reqwest::{blocking}::Response
https://github.com/imp/reqwest-response-ext-rs
Last synced: over 1 year ago
JSON representation
Extension trait for reqwest::{blocking}::Response
- Host: GitHub
- URL: https://github.com/imp/reqwest-response-ext-rs
- Owner: imp
- Created: 2023-06-12T14:27:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-12T14:40:43.000Z (about 3 years ago)
- Last Synced: 2025-02-28T14:46:13.161Z (over 1 year ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
When using `reqwest` sometimes you need to decide how to consume the response
body based on the response status or even based on some external input.
`reqwest::Response`, however, doesn't allow you to do it easily.
`TypedResponse` in this crate allows you to do exactly that.