get_uris


Description:

[ Version ( since = "2.48" ) ]
public SList<URI> get_uris ()

Gets a list of URIs corresponding to the interfaces this is listening on.

These will contain IP addresses, not hostnames, and will also indicate whether the given listener is http or https.

Note that if you used [method@Server.listen_all] the returned URIs will use the addresses `0.0.0.0` and `::`, rather than actually returning separate URIs for each interface on the system.

Parameters:

this

a Server

Returns:

a list of [struct@GLib.Uri], which you must free with each element with [method@GLib.Uri.unref] when you are done with it.