mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 06:39:22 +02:00
remove responsebody indirection from response (#2201)
This commit is contained in:
@ -52,7 +52,7 @@ where
|
||||
|
||||
fn call(&self, (req, mut framed): (Request, Framed<T, h1::Codec>)) -> Self::Future {
|
||||
let fut = async move {
|
||||
let res = ws::handshake(req.head()).unwrap().message_body(());
|
||||
let res = ws::handshake(req.head()).unwrap().message_body(()).unwrap();
|
||||
|
||||
framed
|
||||
.send((res, body::BodySize::None).into())
|
||||
|
Reference in New Issue
Block a user