Remove generic parameter from BodyStream (#234)

I think `BodyStream` is more useful without being generic over the
request body.

I'm also looking into adding a response body from a stream called
`StreamBody` which will work pretty much opposite to this.
This commit is contained in:
David Pedersen
2021-08-22 11:33:38 +02:00
committed by GitHub
parent add3dc36f9
commit 80a8355eff
4 changed files with 35 additions and 14 deletions
+3
View File
@@ -698,3 +698,6 @@ where
addr
}
pub(crate) fn assert_send<T: Send>() {}
pub(crate) fn assert_sync<T: Sync>() {}