appium-ios-device
Version:
Appium API for dealing with iOS devices
11 lines • 468 B
TypeScript
export function upgradeToSSL(socket: any, key: any, cert: any): tls.TLSSocket;
/**
* After the ssl protocol is successfully handshake, close the ssl protocol channel and use text transmission
* @param socket
* @param key
* @param cert
* @returns {Promise<NodeJS.Socket>} Duplicate the input socket
*/
export function enableSSLHandshakeOnly(socket: any, key: any, cert: any): Promise<NodeJS.Socket>;
import tls from 'tls';
//# sourceMappingURL=ssl-helper.d.ts.map