method
TCPSocket.setVerifyMode
requestCert: boolean,
rejectUnauthorized: boolean
): void;
Sets the verify mode of the socket.
@param requestCert
Whether to request a certificate.
@param rejectUnauthorized
Whether to reject unauthorized certificates.