Remove whitespace

This commit is contained in:
Yannick Funk
2021-08-23 14:25:09 +02:00
parent ceb35e58ce
commit 1ecd74eb6c
2 changed files with 1 additions and 4 deletions

View File

@@ -181,9 +181,6 @@ pub enum ClientboundNotification {
id: String,
update: Value,
},
Pong {
data: Vec<u8>
}
}
impl ClientboundNotification {

View File

@@ -81,7 +81,7 @@ async fn accept(stream: TcpStream) {
.peer_addr()
.expect("Connected streams should have a peer address.");
let (sender, receiver) = oneshot::channel::<MSGFormat>();
let ws_stream = async_tungstenite::accept_hdr_async_with_config(stream, HeaderCallback { sender }, None)
.await
.expect("Error during websocket handshake.");