| 1 |
lars |
1 |
<?php
|
|
|
2 |
/****************************************************
|
|
|
3 |
SDKProxyProperties.php
|
|
|
4 |
|
|
|
5 |
This is the configuration file for the Proxy setup. This file
|
|
|
6 |
defines the parameters needed to make an API call through Proxy.
|
|
|
7 |
|
|
|
8 |
Called by HTTP.php.
|
|
|
9 |
****************************************************/
|
|
|
10 |
/**
|
|
|
11 |
USE_PROXY: Set this variable to TRUE to route all the API requests through proxy.
|
|
|
12 |
like define('USE_PROXY',TRUE);
|
|
|
13 |
*/
|
|
|
14 |
define('USE_PROXY',FALSE);
|
|
|
15 |
/**
|
|
|
16 |
PROXY_HOST: Set the host name or the IP address of proxy server.
|
|
|
17 |
PROXY_PORT: Set proxy port.
|
|
|
18 |
PROXY_USER: Set proxy user id (optional)
|
|
|
19 |
PROXY_PASSWORD: Set proxy password (optional)
|
|
|
20 |
PROXY_HOST,PROXY_PORT,PROXY_USER and PROXY_PASSWORD will be read only if USE_PROXY is set to TRUE
|
|
|
21 |
*/
|
|
|
22 |
define('PROXY_HOST', '127.0.0.1');
|
|
|
23 |
define('PROXY_PORT', '808');
|
|
|
24 |
|
|
|
25 |
define('PROXY_USER', 'test');
|
|
|
26 |
define('PROXY_PASSWORD', 'test');
|
|
|
27 |
|
|
|
28 |
?>
|