DEP0064: tls.createSecurePair()


类型:寿命终止

🌐 Type: End-of-Life

在 Node.js 0.11.3 的文档中,tls.createSecurePair() API 已被弃用。用户应改用 tls.Socket

🌐 The tls.createSecurePair() API was deprecated in documentation in Node.js 0.11.3. Users should use tls.Socket instead.

有一个自动迁移可用(来源):

🌐 An automated migration is available (source):

npx codemod @nodejs/tls-create-secure-pair-to-tls-socket