Description

Defines the hostname to use for sockets.

This is useful to avoid replicating a hostname in all socket wrapper with hostname_override.

If NULL, then sockets wrappers will will fetch from adopted socket using address_remote or address_dial.

It's only used if Efl.Net.Ssl.Context.hostname_verify is true.

Since 1.19

Values

  • hostname - Hostname for this socket

Signature

@property hostname {
    get {
        values {
            hostname: free(string, free) @nullable;
        }
    }
    set {
        values {
            hostname: free(string, free) @nullable;
        }
    }
}

C signature

const char *efl_net_ssl_context_hostname_get(const Eo *obj);
void efl_net_ssl_context_hostname_set(Eo *obj, const char *hostname);

Implemented by

  • Efl.Net.Ssl.Context.hostname