In order for a server to run https, you must call
soup.server.Server.setTlsCertificate, or set the
propertyServer: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 soup.server.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 soup.server.Server.getUris to see if it currently has
any https listeners.
Checks whether server is capable of https.
In order for a server to run https, you must call soup.server.Server.setTlsCertificate, or set the propertyServer: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 soup.server.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 soup.server.Server.getUris to see if it currently has any https listeners.