aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/dialer/property/proxy.txt
blob: 229c7545f51ef08edbfeaaa6e7adc2c2d89f62c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
~~Title: Efl.Net.Dialer.proxy~~
===== Signature =====

<code>
@property proxy @pure_virtual {
    get {
        values {
            proxy_url: free(string, free);
        }
    }
    set {
        values {
            proxy_url: free(string, free);
        }
    }
}
</code>

===== C signature =====

<code c>
const char *efl_net_dialer_proxy_get(const Eo *obj);
void efl_net_dialer_proxy_set(Eo *obj, const char *proxy_url);
</code>

===== Values =====

  * **proxy_url** - %%May be empty or NULL to unset%%
===== Description =====

%%Controls/retrieves if the dialer should use a proxy.%%

%%The proxy is an URL in the form:%%

%%- protocol://username:password@proxyserver:port%%

%%Where protocol is defined per class, such as a TCP or UDP dialer will use 'socks4', 'socks4a', 'socks5' or 'socks5h'; while http and websocket will want those or 'http'.%%

%%Whenever appropriate dialers may use system proxy if the proxy is NULL (the default). To forcefully disable proxy, use an empty string ("").%%

%%- http://username:password@proxyserver:port - http://username@proxyserver:port - http://proxyserver:port - http://proxyserver  (default port) - socks5://username:password@proxyserver:port (SOCKSv5) - socks5h://username@proxyserver:port (let socks server to resolve domain) - socks5://proxyserver:port - socks5://proxyserver (default port 1080) - socks4a://proxyserver:port (SOCKSv4 and let socks server to resolve domain) - socks4://proxyserver:port (SOCKSv4)%%

//Since 1.19//
{{page>:develop:api-include:efl:net:dialer:property:proxy:description&nouser&nolink&nodate}}


===== Implemented by =====

  * **Efl.Net.Dialer.proxy**