pub fn connect(
endpoint: String,
callback: impl FnMut(DevserverMsg) + Send + 'static,
)
Expand description
Connect to the devserver and handle its messages with a callback.
This doesn’t use any form of security or protocol, so it’s not safe to expose to the internet.