Upgrade actix to v4.0.0-beta.4 (and associated fall-out)

This commit is contained in:
David Palm
2021-03-25 17:13:25 +01:00
parent dbabc88127
commit 3978085a38
6 changed files with 429 additions and 1315 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ impl StreamHandler<Result<ws::Message, ws::ProtocolError>> for NodeConnector {
return;
}
Ok(ws::Message::Pong(_)) => return,
Ok(ws::Message::Text(text)) => text.into(),
Ok(ws::Message::Text(text)) => text.into_bytes(),
Ok(ws::Message::Binary(data)) => data,
Ok(ws::Message::Close(_)) => {
ctx.stop();