c9a9e44e1f
This can be configured using the `CHATTERINO2_PROXY_URL` environment variable. The behaviour is similar to curl's CURLOPT_PROXY
24 lines
409 B
C++
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
|