feat(body): replace Chunk type with Bytes
Closes #1931 BREAKING CHANGE: All usage of `hyper::Chunk` should be replaced with `bytes::Bytes` (or `hyper::body::Bytes`).
This commit is contained in:
@@ -39,7 +39,7 @@ extern crate test;
|
||||
|
||||
pub use http::{header, HeaderMap, Method, Request, Response, StatusCode, Uri, Version};
|
||||
|
||||
pub use crate::body::{Body, Chunk};
|
||||
pub use crate::body::Body;
|
||||
pub use crate::client::Client;
|
||||
pub use crate::error::{Error, Result};
|
||||
pub use crate::server::Server;
|
||||
|
||||
Reference in New Issue
Block a user