Server.tlsCertificate

Set tlsCertificate property.

  1. gio.tls_certificate.TlsCertificate tlsCertificate [@property getter]
  2. gio.tls_certificate.TlsCertificate tlsCertificate [@property setter]
    class Server
    @property
    void
    tlsCertificate

Parameters

propval gio.tls_certificate.TlsCertificate

A gio.tls_certificate.TlsCertificate that has a property@Gio.TlsCertificate:private-key set.

If this is set, then the server will be able to speak https in addition to (or instead of) plain http.