mockttp
    Preparing search index...

    Interface AddPortOptions

    interface AddPortOptions {
        https?: CAOptions;
        port?: number | PortRange;
    }
    Index
    https?: CAOptions

    The CA used to sign TLS certificates on this port, as either a { key, cert } object containing PEM data, or a { keyPath, certPath } object referencing files on the server's machine. Defaults to the main server's CA.

    port?: number | PortRange

    A fixed port, or a { startPort, endPort } range to pick from. Any free port is used if this is not set.