Make body::Sender
type and Body::channel()
constructor private.
#2962
Labels
Milestone
body::Sender
type and Body::channel()
constructor private.
#2962
This is an "easy" task, in that the changes aren't complicated:
hyper::body::Sender
type topub(crate)
.Body::channel()
method topub(crate)
.Full
, but if specifically showing a channel usage, or needing a channel behavior for a test, atokio::sync::mpsc
wrapped inStreamBody
should work.The text was updated successfully, but these errors were encountered: