1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-29 11:14:58 +02:00

rename BodyLength to BodySize

This commit is contained in:
Nikolay Kim
2019-03-27 09:24:55 -07:00
parent b6b37d3ea3
commit faa3ea8e5b
18 changed files with 151 additions and 172 deletions

View File

@ -13,7 +13,7 @@ use log::trace;
use rand;
use sha1::Sha1;
use crate::body::BodyLength;
use crate::body::BodySize;
use crate::h1;
use crate::message::{ConnectionType, Head, ResponseHead};
use crate::ws::Codec;
@ -149,7 +149,7 @@ where
// h1 protocol
let framed = Framed::new(io, h1::ClientCodec::default());
framed
.send((request, BodyLength::None).into())
.send((request, BodySize::None).into())
.map_err(ClientError::from)
.and_then(|framed| {
framed