You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, you have two or more things that can be turned into a Body (for instance, a String and a Read instance), and you want to chain them together. I'd love to have a direct method to chain these together (which could delegate to Read::chain).
The text was updated successfully, but these errors were encountered:
Would Body::from_string(&my_string).chain(Body::from_reader(&stdin, None)) really be preferable to Body::from_reader(Cursor::new(&my_string).chain(&stdin), None)?
Sometimes, you have two or more things that can be turned into a
Body
(for instance, aString
and aRead
instance), and you want to chain them together. I'd love to have a direct method to chain these together (which could delegate to Read::chain).The text was updated successfully, but these errors were encountered: