Files
chatterino2/src/common/Env.hpp
nerix c9a9e44e1f Add HTTP & SOCKS5 proxy support (#4321)
This can be configured using the `CHATTERINO2_PROXY_URL` environment variable.
The behaviour is similar to curl's CURLOPT_PROXY
2023-02-11 23:16:51 +00:00

24 lines
409 B
C++

#pragma once
#include <boost/optional.hpp>
#include <QString>
namespace chatterino {
class Env
{
Env();
public:
static const Env &get();
const QString recentMessagesApiUrl;
const QString linkResolverUrl;
const QString twitchServerHost;
const uint16_t twitchServerPort;
const bool twitchServerSecure;
const boost::optional<QString> proxyUrl;
};
} // namespace chatterino