3 releases (breaking)
0.3.0 | Jul 6, 2020 |
---|---|
0.2.0 | Jun 7, 2020 |
0.1.0 | Jun 6, 2020 |
#8 in #proxies
10KB
97 lines
Proxify
A pretty shitty proxy parser for Rust
How to use?
Put proxify in your dependency section:
proxify = "0.3"
Use it:
let proxy = proxify::get_proxy().await;
println!("{:?}", proxy);
Also, you can check proxies, duration is time for waiting before we close the connection:
use std::time::Duration;
let working = check_proxies(&proxy, Duration::from_secs(2)).await;
println!("{:?}", working);
Dependencies
~15–24MB
~392K SLoC