Function devserver_ws_endpoint

Source
pub fn devserver_ws_endpoint() -> Option<String>
Expand description

Get the address of the devserver for use over a websocket

This is meant for internal use, though if you are building devtools around Dioxus, this would be useful to connect as a “listener” to the devserver.

Unlike devserver_raw_addr, this returns a string that can be used directly to connect to the devserver over a websocket. IE ws://127.0.0.1:8080/_dioxus.