pub async fn live_socket(socket: WebSocket, component: impl LiveComponent)Expand description
Handle a WebSocket connection for a LiveComponent.
Receives events from the client, calls handle_event, re-renders, and sends
the updated HTML back.
pub async fn live_socket(socket: WebSocket, component: impl LiveComponent)Handle a WebSocket connection for a LiveComponent.
Receives events from the client, calls handle_event, re-renders, and sends
the updated HTML back.