Merge branch 'master' of github.com:async-graphql/async-graphql

This commit is contained in:
Sunli 2021-04-01 15:53:46 +08:00
commit 9eff268321

View File

@ -100,6 +100,7 @@ where
ws_receiver
.take_while(|msg| future::ready(msg.is_ok()))
.map(Result::unwrap)
.filter(|msg| future::ready(msg.is_text() || msg.is_binary()))
.map(ws::Message::into_bytes),
initializer,
protocol,