fortifynet_proxy 1.1.8

FortifyNet Proxy is a lightweight Rust proxy server designed to provide secure and efficient handling of HTTP requests with basic authentication and resource caching capabilities.
Documentation
// BASIC USAGE 
// Note it is the main file adjust USE statement if you are using API

use fortifynet_proxy::{ProxyConfig, start_proxy_server};

fn main() {
    
    // Define proxy server configuration
    let my_config = ProxyConfig {
        ip_address: "127.0.0.1".to_string(),
        port: 8080,
        authentication: true,
        username: "admin".to_string(),
        password: "password123".to_string(),
        cache_enabled: true, // Remove for faster Execution
    };

    // Start the proxy server with the provided configuration
    start_proxy_server(my_config);
}