Crates.io | rustem_proxy |
lib.rs | rustem_proxy |
version | 0.1.5 |
source | src |
created_at | 2023-09-28 15:47:17.242058 |
updated_at | 2024-01-23 14:58:56.120674 |
description | A rust library to set system proxy on different operating systems |
homepage | https://github.com/uaquax/rustem_proxy |
repository | https://github.com/uaquax/rustem_proxy |
max_upload_size | |
id | 986045 |
size | 46,194 |
Supported Platforms:
Examples:
use rustem_proxy::SystemProxy;
SystemProxy::set(SystemProxy {
is_enabled: true,
host: "127.0.0.1".to_string(),
port: 61001,
bypass: "".to_string(),
protocol: rustem_proxy::Protocol::HTTP,
});
SystemProxy::unset();