public bool is_https ()

Checks whether this is capable of https.

In order for a server to run https, you must call set_ssl_cert_file , or set the 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 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 get_uris to see if it currently has any https listeners.



a Server


true if this is configured to serve https.