pub async fn send_frame<S>(writer: &mut S, frame: &ServerFrame) -> Result<()>where S: SinkExt<Message> + Unpin,
Send a ServerFrame as a binary WebSocket message. Works with any sink that accepts Binary messages.