An open API service indexing awesome lists of open source software.

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

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.