11 lines
223 B
Rust
11 lines
223 B
Rust
|
use reqwest::Client;
|
||
|
use std::time::Duration;
|
||
|
|
||
|
pub fn client() -> Client {
|
||
|
Client::builder().no_proxy().build().unwrap()
|
||
|
}
|
||
|
|
||
|
pub async fn wait_server_ready() {
|
||
|
async_std::task::sleep(Duration::from_secs(1)).await;
|
||
|
}
|