get_host


Description:

public unowned string? get_host ()

Gets the hostname of this.

It is reasonable for this to be null if its protocol does not require a host component.

Parameters:

this

a SecurityOrigin

Returns:

The host of the SecurityOrigin




2022 vala-language.org