mock-tls-server - v1.1.2
    Preparing search index...

    Interface LocalOptions

    interface LocalOptions {
        authority?: CertificateAuthority;
        secureConnectionListener?: SecureConnectionCallback;
    }
    Index

    Properties

    authority?: CertificateAuthority

    A CA instance to use. If you are creating lots of servers, create one CA to pass into each of them, so that certs don't need to be created from scratch for each.

    secureConnectionListener?: SecureConnectionCallback

    Installed as a listener for the 'secureConnection' event.