diff --git a/README.md b/README.md index bf9c8d4..6f0c695 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ async fn main() -> Result<(), Error> { ) .await?; - let UpgradedClient { socket, subprotocol } = upgraded; + let UpgradedClient { websocket, subprotocol } = upgraded; let mut buf = BytesMut::new(); loop {