get_service_name


Description:

public abstract unowned string? get_service_name (NetworkSecurityMethod method)

Returns the standard network service name for this and the security method method, as defined in /etc/services.

For example, the service name for unencrypted IMAP or encrypted IMAP using STARTTLS is "imap", but the service name for IMAP over SSL is "imaps".

Parameters:

this

a NetworkService

method

a NetworkSecurityMethod

Returns:

the network service name for this and method, or null




2022 vala-language.org