Function tide_disco::wait_for_server

source ·
pub async fn wait_for_server(url: &Url, retries: u64, sleep_ms: u64)
Expand description

Wait for the server to respond to a connection request

This is useful for tests for which it doesn’t make sense to send requests until the server has started.