isHttps

open fun isHttps(): Boolean

Checks whether @server 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 #SoupServer 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.

Return

true if @server is configured to serve https.