add streaming body to requests and responses #3
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ pub use bytes::Bytes;
|
|||
/// A circular buffer of bytes, internally represented as a list of Bytes
|
||||
/// for optimization, but that for all intent and purposes acts just like
|
||||
/// a big byte slice which can be extended on the right and from which
|
||||
/// one can take on the left.
|
||||
/// stuff can be taken on the left.
|
||||
pub struct BytesBuf {
|
||||
buf: VecDeque<Bytes>,
|
||||
buf_len: usize,
|
||||
|
|
Loading…
Reference in a new issue