diff --git a/reqwest/src/main.rs b/reqwest/src/main.rs index 20fe90d..e76649a 100644 --- a/reqwest/src/main.rs +++ b/reqwest/src/main.rs @@ -45,6 +45,18 @@ struct T002(); #[async_trait::async_trait] impl Call for T002 { async fn call(&self) -> Result<(), Box> { + // let resp = reqwest::get("https://hatter.ink/ip/ip.jsonp").await?; + // use std::io::Read; + + // let mut buff = [0_u8; 1024]; + + // loop { + // match resp.read(buff) { + // Ok(_) => (), + // Err(_) => (), + // } + // } + println!("Hello World 2"); Ok(()) }