14 releases
0.1.14 | Nov 11, 2024 |
---|---|
0.1.13 | Aug 17, 2024 |
0.1.11 | Jun 13, 2024 |
0.1.10 | Jan 30, 2024 |
0.1.3 | Dec 20, 2023 |
#62 in #ipv6
34 downloads per month
16KB
209 lines
preq: ipv6 proxyed reqwest
genv::s!(IPV6_PROXY_TEST_URL, IPV6_PROXY_TEST_RESULT);
use aok::{Result, OK};
#[tokio::test]
async fn test() -> Result<()> {
loginit::init();
use preq::PROXY;
let url = IPV6_PROXY_TEST_URL.as_str();
// let url = "https://www.baidu.com";
let r = PROXY.post_form(url, [("q", "I")]).await?;
tracing::info!("{}", String::from_utf8_lossy(&r));
// assert_eq!(r, &*IPV6_PROXY_TEST_RESULT);
OK
}
Dependencies
~6–18MB
~250K SLoC