Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theradioguy/proxify

Shitty proxy parser for rust
https://github.com/theradioguy/proxify

Last synced: 14 days ago
JSON representation

Shitty proxy parser for rust

Awesome Lists containing this project

README

        

### Proxify
A pretty shitty proxy parser for Rust

### How to use?

Put proxify in your dependency section:

```toml
proxify = "0.3"
```

Use it:

```rust
let proxy = proxify::get_proxy().await;
println!("{:?}", proxy);
```

Also, you can check proxies, duration is time for waiting before we close the connection:

```rust
use std::time::Duration;
let working = check_proxies(&proxy, Duration::from_secs(2)).await;
println!("{:?}", working);
```