Files
amnezia-client/client/core/models/protocols/socks5ProxyProtocolConfig.h
T

23 lines
410 B
C++
Raw Normal View History

#ifndef SOCKS5PROXYPROTOCOLCONFIG_H
#define SOCKS5PROXYPROTOCOLCONFIG_H
#include <QJsonObject>
#include <QString>
namespace amnezia
{
struct Socks5ProxyProtocolConfig {
QString port;
QString userName;
QString password;
QJsonObject toJson() const;
static Socks5ProxyProtocolConfig fromJson(const QJsonObject& json);
};
} // namespace amnezia
#endif // SOCKS5PROXYPROTOCOLCONFIG_H