Function caesar_core::sender::start_local_ws
source · pub async fn start_local_ws()Expand description
Start a local WebSocket server.
This function initializes and runs a WebSocket server on the specified host and port.
It creates an instance of the AppState struct and uses it as the state for the router.
The ws_handler function is registered as the handler for the “/ws” route.
§Arguments
None
§Returns
This function does not return anything.