Closed
Description
Feature Request
Crates
tonic
Motivation
Tonic uses its own Body
implementations BoxBody
, MapBody
and EmptyBody
. This RFC suggests to add BoxBody
, EmptyBody
and several others to Hyper. But it seems like they will be added to http-body. There is already a PR opened. After this PR gets merged, and other Body
types are implemented, I think tonic should re-export them instead of re-implementing them.
Proposal
Body
types from http-body
should be re-exported.