Function isHttpsServer

  • Returns true if the server is an HTTPS server.

    Parameters

    • server: Server<typeof IncomingMessage, typeof ServerResponse>

    Returns server is Server<typeof IncomingMessage, typeof ServerResponse>