A quick multiple-choice check before you move on. Answer every question, then submit to see how you did.
1.In an Axum WebSocket handler, what is the purpose of calling ws.on_upgrade(handle_socket) on the WebSocketUpgrade extractor?
2.Why does the handler call socket.split() to get (sender, receiver) before the receive loop?
3.Which traits from futures_util supply the .next() and .send() combinators used on the receiver and sender halves?
4.Given while let Some(Ok(msg)) = receiver.next().await, what does the Some(Ok(...)) pattern tell you about the type produced by receiver.next().await?
5.According to the module, what must you configure in your project for this WebSocket code to compile and work with Axum?