send_message

Function send_message 

Source
pub async fn send_message(write: &WebSocketWrite, message_data: String)
Expand description

Sends a message to the WebSocket connection.

ยงArguments

  • write: The WebSocket connection.
  • message_data: The message to send.