[Feature Request] add tower::Service
implementation for http::Request
and http:: Response
types.
#2251
Labels
E-pr-welcome
The feature is welcome to be added, instruction should be found in the issue.
reqwest::Client
already hastower::Service
implementation for thereqwest::Request
andreqwest::Response
types. But it lacks of the service implementation forhttp::Request
andhttp::Response
types. If we add this implementation we can use a lot of existing layers from the tower_http crate without any code modification.I already implemented this feature in my own crate. But I believe it would be better to add this functionality to the core library than to use adapters.
Here is my implementation.
The text was updated successfully, but these errors were encountered: