summaryrefslogtreecommitdiff
path: root/pages/develop/api/efl/net/socket/ssl/property/hostname_override.txt
blob: e45e09bcc0f1baed3a91553b8d68ea52de23f522 (plain)
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
~~Title: Efl.Net.Socket.Ssl.hostname_override~~
===== Description =====

%%Overrides the hostname to use for this socket.%%

%%Most of time this is useful if you're using an IP address but the server certificate only specifies DNS (names).%%

%%If NULL, then it will fetch from socket using %%[[:develop:api:efl:net:socket:property:address_remote|Efl.Net.Socket.address_remote]]%% or %%[[:develop:api:efl:net:dialer:property:address_dial|Efl.Net.Dialer.address_dial]]%%.%%

%%It's only used if %%[[:develop:api:efl:net:socket:ssl:property:hostname_verify|Efl.Net.Socket.Ssl.hostname_verify]]%% is %%''true''%%.%%

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

===== Values =====

  * **hostname_override** - %%Hostname for this socket%%

===== Signature =====

<code>
@property hostname_override {
    get {
        values {
            hostname_override: free(string, free) @nullable;
        }
    }
    set {
        values {
            hostname_override: free(string, free) @nullable;
        }
    }
}
</code>

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

<code c>
const char *efl_net_socket_ssl_hostname_override_get(const Eo *obj);
void efl_net_socket_ssl_hostname_override_set(Eo *obj, const char *hostname_override);
</code>

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

  * **Efl.Net.Socket.Ssl.hostname_override**