proxyinfo.h
来自「本人收集整理的一份c/c++跨平台网络库」· C头文件 代码 · 共 25 行
H
25 行
#ifndef UTILS_BASE_PROXYINFO_H_#define UTILS_BASE_PROXYINFO_H_#include <string>#include "socketaddress.h"#include "cryptstring.h"namespace utils_base {enum ProxyType { PROXY_NONE, PROXY_HTTPS, PROXY_SOCKS5, PROXY_UNKNOWN };const char * ProxyToString(ProxyType proxy);struct ProxyInfo { ProxyType type; SocketAddress address; std::string username; CryptString password; ProxyInfo() : type(PROXY_NONE) { }};} // namespace utils_base#endif // UTILS_BASE_PROXYINFO_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?