Files
2026-01-19 19:52:30 +03:00

15 lines
284 B
C++

#pragma once
#include <string>
enum class ProxyType {
HTTP,
SOCKS5,
SOCKS5_HOSTNAME // Use this to let the proxy resolve the DNS
};
struct ProxyConfig {
std::string url;
ProxyType type = ProxyType::SOCKS5_HOSTNAME;
std::string username = "";
std::string password = "";
};