is_https
Description:
Checks whether this is capable of https.
In order for a server to run https, you must call [method@Server.set_tls_certificate], or set the [property@Server:tls-certificate] property, to provide it with a certificate to use.
If you are using the deprecated single-listener APIs, then a return value of true indicates that the Server serves https exclusively. If you are using [method@Server.listen], etc, then a true return value merely indicates that the server is *able* to do https, regardless of whether it actually currently is or not. Use [method@Server.get_uris] to see if it currently has any https listeners.
Parameters:
this |
a Server |
Returns:
true if this is configured to serve https. |