mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Bump soketto to v0.7.1 (#11203)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -123,12 +123,12 @@ impl WsServer {
|
||||
let mut server = Server::new(pending_incoming);
|
||||
|
||||
let websocket_key = match server.receive_request().await {
|
||||
Ok(req) => req.into_key(),
|
||||
Ok(req) => req.key(),
|
||||
Err(err) => return Err(Box::new(err) as Box<_>),
|
||||
};
|
||||
|
||||
match server
|
||||
.send_response(&{ Response::Accept { key: &websocket_key, protocol: None } })
|
||||
.send_response(&{ Response::Accept { key: websocket_key, protocol: None } })
|
||||
.await
|
||||
{
|
||||
Ok(()) => {},
|
||||
|
||||
Reference in New Issue
Block a user