Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Web
UrlProxySettings.h
1
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2
3
#pragma once
4
5
#include <string>
6
7
namespace
Eegeo
8
{
9
namespace
Web
10
{
11
struct
UrlProxySettings
12
{
13
public
:
14
15
UrlProxySettings
()
16
: m_proxyIp(
""
)
17
, m_proxyPort(0)
18
, m_shouldProxy(
false
)
19
{
20
}
21
22
UrlProxySettings
(
const
std::string& ipAddress,
const
int
port)
23
: m_proxyIp(ipAddress)
24
, m_proxyPort(port)
25
, m_shouldProxy(
true
)
26
{
27
}
28
29
const
bool
ShouldProxy()
const
{
return
m_shouldProxy; }
30
const
std::string& ProxyIpAddress()
const
{
return
m_proxyIp; }
31
const
int
ProxyPort()
const
{
return
m_proxyPort; }
32
33
private
:
34
std::string m_proxyIp;
35
int
m_proxyPort;
36
bool
m_shouldProxy;
37
};
38
}
39
}
Generated on Sat Jun 10 2023 02:00:35 for eeGeo Platform SDK by
1.8.3.1