pub fn spawn(
listener: TcpListener,
socket: PathBuf,
proxies: Vec<Origin>,
sessions: Arc<Sessions>,
stop: impl Future + Send + 'static,
) -> JoinHandle<()> ⓘExpand description
Runs serve as a task, logging why it stopped if it failed.