Skip to main content

serve

Function serve 

Source
pub async fn serve(addr: &str) -> Result<RelayServer>
Expand description

Start a relay (a pure WebSocket pub/sub hub) on addr (e.g. 127.0.0.1:0). This is the browser↔browser-via-relay path and needs no mesh.