Crates.io | reqwest-response-ext |
lib.rs | reqwest-response-ext |
version | 0.1.0 |
source | src |
created_at | 2023-06-12 14:40:27.182984 |
updated_at | 2023-06-12 14:40:27.182984 |
description | Extension trait for reqwest::{blocking}::Response |
homepage | |
repository | https://github.com/imp/reqwest-response-ext-rs |
max_upload_size | |
id | 888232 |
size | 8,616 |
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.